Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot control Print from 5.0.5 to win2000 parallel printer 1

Status
Not open for further replies.

edmb

Technical User
Feb 5, 2003
13
0
0
US
Unix box is member of win2000 network. Want to print on
HP4100 parallel printer(main system printer hooked to win2000 server). Ran Scoadmin for remote printer and set printer to sharing. Can print to it but cannot change fonts or toggle between portrait and landscape. No matter what default is set to in either win box or printer, output is always 10cpi and portrait. Only capability needed is port/landscape and 8/10cpi. Can forget the rest. Thanks!
 
Try something like this:
Create a "virtual" printer with the HPLaserJet model and /dev/null device.
Then encapsulate the whole interface script within a pair of brackets and a pipe to the real printer:
Code:
:
(
#       @(#) HPLaserJet 25.3 95/03/27
....
${DRAIN}
) | lp -dRealPrinterName
exit 0
You'll have access to all the options of the interface script.

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top