Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to create a print filter that print text & image? Post 302875373 by Corona688 on Tuesday 19th of November 2013 10:40:58 AM
Old 11-19-2013
If all you need to do is move the image around, PCL has X and Y positioning commands.

If you need to automatically wrap text around your image and such, I think you're reaching the bounds of what PCL can do for you, and should start using a word processor before you end up writing your own from scratch.
 

8 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

print image files to variety printer models

Hi, I am currently working on a windows platform (2000 and XP) and was wondering if there are today solutions for the task I have. I need to print image files onto a variety of inkjet printer models, most epson non-postscript. Some of the models I know but new models are added almost every... (0 Replies)
Discussion started by: jokofix007
0 Replies

2. Shell Programming and Scripting

Trying to modify a print filter!

Ok, the filter looks like this. awk ' BEGIN{printf ("^ This is sending escape sequences to the printer. What I also would like to do is filter out certain pages. I only want the contant between two markers. Start Marker=1Q2Q3Q4Q, End Marker=5Q6Q7Q8Q. I also need the actual line that... (0 Replies)
Discussion started by: djsal
0 Replies

3. UNIX for Dummies Questions & Answers

Grep & print

I just need to print value 12 digit number after the key *MI*. My big concern is the below lines are not fixed format or length so cant cut based on the position. XSA*00**00**XZ*DA-Paper*30*942411167****MI*010001990802~AEE XSA*00**00**ZZ*EA-aper*30*94169****MI*010001960802~SDRE*ER... (7 Replies)
Discussion started by: gunaah
7 Replies

4. Shell Programming and Scripting

Filter the column and print the result based on condition

Hi all This is my output of the some SQL Query TABLESPACE_NAME FILE_NAME TOTALSPACE FREESPACE USEDSPACE Free ------------------------- ------------------------------------------------------- ---------- --------- ---------... (2 Replies)
Discussion started by: jhon
2 Replies

5. Shell Programming and Scripting

Filter files and print

Hi, I need to filter and store the files ends with log extension in the array and need to write the file names in the array to a file. I need to use array to derive this solution. Please help me out. Thanks (2 Replies)
Discussion started by: Sekar1
2 Replies

6. Shell Programming and Scripting

AWK filter from file and print

Dear all, I am using awk to filter some data like this:- awk 'NR==FNR{a;next}($1 in a)' FS=":" filter.dat data.dat >! out.dat where the filter and input data look like this:- filter.dat... n_o00j_1900_40_007195350_0:n_o00j_1940_40_007308526... (3 Replies)
Discussion started by: atb299
3 Replies

7. Programming

Print to file image sizes

I was trying to figure out how to write a shell script to be able to print the name of the file and size to a text file I wanted to know if I was on the right track and am understanding this better. In my script a for loop be able to print files over 4mb (we charge differently for larger images)... (18 Replies)
Discussion started by: graphicsman
18 Replies

8. Shell Programming and Scripting

awk Help: Filter Multiple Entry & print in one line.

AWK Gurus, data: srvhcm01 AZSCI srvhcm01 AZSDB srvhcm01 BZSDB srvhcm01 E2QDI31 srvhcm01 YPDCI srvhcm01 YPDDB srvhcm01 UV2FSCR srvhcm01 UV2FSBI srvhcm01 UV2FSXI srvhcm01 UV2FSUC srvhcm01 UV2FSEP srvhcm01 UV2FSRE srvhcm01 NASCI srvhcm01 NASDB srvhcm01 UV2FSSL srvhcm01 UV2FSDI (7 Replies)
Discussion started by: rveri
7 Replies
lqf(4)							     Kernel Interfaces Manual							    lqf(4)

Name
       lqf - general purpose letter quality filter

Syntax
       /usr/lib/lpdfilters/lqf [-c] [-nlogin] [-hhost] [-wwidth] [-lnum] [-iindent]  [accounting file]

Description
       The  filter  is	used  to  filter  text	data  destined for a letter quality printer, specifically the lqp02, but will work with any impact
       printer: LP25, LP26, LP27, LA50, LA75, LA100, LA120, LA210, and LG01. The filter allows escape characters and  control  sequences  to  pass
       through	to the printer.  The filter handles the device dependencies of the printers and performs accounting functions.	Accounting records
       are written to the file specified by the af field in at the time of completion for each job.

       The filter can handle plain ASCII files and files that have been preprocessed by However, it ignores  escape  sequences	requesting  super-
       scripting and subscripting.

       The  filter can be the specified filter in both the of and the if fields in the file.  For further information, see printcap 5 .  When both
       fields are specified, the of filter is used only to print the banner page.  It is then stopped  to  allow  the  if  filter  access  to  the
       printer. The if filter maintains accounting information.

       If the of field is the only one specified, the filter is used to print the banner page.	It is then stopped and restarted.  This allows the
       of filter to be used to maintain accounting information.

       If the if field is the only one specified, the banner page will be sent directly to the printer. This is not  a	problem  for  most  impact
       printers.  For a more detailed discussion on filters see the ``Line Printer Spooler Manual'' in The Supplementary Documents.

Options
       The arguments passed to the filter depend on its use.  The of filter is called with the following arguments:

       lqf -wwidth -llength
	      The  width and length values come from the pw and pl fields in the database. The if (or restarted of) filter is passed the following
	      arguments:

       lqf -c -nlogin -hhost -wwidth -lnum -iindent  accounting file

       The -c flag is optional, and supplied only when control characters are to be printed, that is, when the -l option  of  lpr(1)  is  used	to
       print the file.	The -w and -l arguments are the same as for the of filter. However, they may have different values if the -w or -z options
       of were used to print the file.	The -n and -h arguments specify the login name and host name of the job owner.	These arguments  are  used
       to  record  accounting  information.  The  -i  option  specifies the amount of indentation to be used. The last argument is the name of the
       accounting file specified from the af field in the database.

Diagnostics
       The lf field (default "/dev/null") in the database specifies error logging file name.

Files
       Printer Capabilities Database

       See Also
	      lpr(1), pr(1), printcap(5), lpd(8), MAKEDEV(8), pac(8)
	      Line Printer Spooler Manual

																	    lqf(4)
All times are GMT -4. The time now is 04:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy