Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General / October 2004



Tip: Looking for answers? Try searching our database.

Printer object and LPrint

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard B - 31 Oct 2004 02:13 GMT
Many years ago,we used lprint to send printer specific commands to the
printer. Now, with the object, Printer.,we are confined to a few generic
commands. How can we send specific commands, i.e, width of type to the
specific printer? If you send an escape command; printer.print chr$(27)
it prints that out instead of interpreting the escape code.
Richard

Richard
Jeff Johnson [MVP: VB] - 31 Oct 2004 04:57 GMT
> Many years ago,we used lprint to send printer specific commands to the
> printer. Now, with the object, Printer.,we are confined to a few generic
> commands. How can we send specific commands, i.e, width of type to the
> specific printer? If you send an escape command; printer.print chr$(27)
> it prints that out instead of interpreting the escape code.

Switch to a built-in printer font (not a TrueType font) so that VB won't
"draw" your characters on the printer but will send raw ASCII codes instead.
J French - 31 Oct 2004 13:42 GMT
>> Many years ago,we used lprint to send printer specific commands to the
>> printer. Now, with the object, Printer.,we are confined to a few generic
[quoted text clipped - 4 lines]
>Switch to a built-in printer font (not a TrueType font) so that VB won't
>"draw" your characters on the printer but will send raw ASCII codes instead.

Or use the OpenPrinter API
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.