CompuServe Thread

#Printing to HPLJ

3 messages in this thread
#1464From: Mitch TanenbaumOct 5, 1991 12:01 AM
Anybody know how to get VB to print on a LJ in Landscape mode. You can do fonts, sizes, bold, italic, etc., but how do you get the SOB to print in landscape mode??? thanks There is 1 Reply.
#1480From: john keslerOct 5, 1991 8:54 AM
Mitch, There is a file in the DL (was DL6 on MSLANG, not sure of the lib here in MSBASIC) called PSETUP.ZIP. It has a small DLL and instructions on how you can call up the standard Printer Setup dialog. From there you can select Landscape, etc. Also, MicroHelp's VBMuscle add-on library provides access to the Printer setup dialog as well. Another option is to send the necessary escape codes directly to the printer — OPEN LPT1… Hope this helps john k There is 1 Reply.
#1524From: Mitch TanenbaumOct 5, 1991 1:18 PM
thanks; I knew all that, but I was hoping there was a way to do it from within VB. The control panel doesn't help because I want to be able to go from landscape to portrait and back from page to page. The escape codes work, but they are a true pain in the you know what and you lose access to ATM since it is a binary data stream. I've seen stuff about VB-Muscle and VBTools, but I don't know anything about them. I looked for VBTools, but it appears to be gone. Does anyone make a DLL or lib to assist in the grunt work of printing in a windows environment, to either HPLJ or Postscript printers.