Solved

When a file with a certain form id is sent to HP LJ4 printer, the desired action is

Posted on 2004-03-31
4
188 Views
Last Modified: 2010-04-21
1] to change printers font
2] print the file ( my program already does that )
3] reset printer's font to whatever it was earlier

Thanks in advance,
-Alex
0
Comment
Question by:AlexF777
4 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 10728255
Very much depends on what flavour Unix/Linux you are using and how the printer queue has been set up.
0
 
LVL 6

Expert Comment

by:bira
ID: 10732008
listening
0
 
LVL 20

Expert Comment

by:Gns
ID: 10732376
Listening mostly too... PCL printing I presume?

-- Glenn
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 10735365
HP LJ is very graphical printer, UNIX systems are capable of generating vector graphics documents that make your printer happy.
(if not natively, then with a little help from GhostScript package)

Usually you feed nroff formated document into ghostscript, or another print preprocessor, which does all what pin printer did with charset change commands etc.
nroff is mentiones, because it is very simple, just like old epson language, where you start underscore, stop it etc...
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question