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
184 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
Comment Utility
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
Comment Utility
listening
0
 
LVL 20

Expert Comment

by:Gns
Comment Utility
Listening mostly too... PCL printing I presume?

-- Glenn
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
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.:
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.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now