?
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
Medium Priority
?
196 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
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.
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

777 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