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
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 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