How can I use deirectly a printer attached to a USB port through VB6 coding?d
USB port printer
Collapse
X
-
Tags: None
-
Many of my clients want to use the printer to print discrete page and want the printer to stop where the bill finishes. I use: Open "Lpt1" for output as #1
which works better in win98 and XP but it fails for USB printer and network printer.
The printer object gives full page in XP because Printer.Height property does not work in XP. Please Help for USB port and network printer.Comment
-
Originally posted by Azizul Haqmany of my clients want to use the printer to print descrete page and want the printer to stop where the bill finishes. I use: Open "Lpt1" for output as #1
which works better in wn98 and xp but it fails for usb printer and network printer.
The printer object gives full page in xp because printer.height property does not work in xp. Plese Help for USB port and network printer.
However, I would like to ask - have you tried adjusting the Printer.PaperSi ze property?Comment
-
Printer.PageSiz e picks the pre-adjusted paper size but does not work as I want. My dynamic paper size starts from 7 lines and maximum paper size is up to 500 lines on continuous paper. It should stop anywhere when the lines finish.Comment
-
Well, I'm fresh out of ideas so I'll throw in a bunch of links to possibly relevant sites I just found in Google...
http://www.thescripts.com/forum/thread677530.html
If these don't help, I recommend further searching, through Google or perhaps on the MSDN website.Comment
Comment