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
190 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

791 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