print a file contains binary and pcl file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers print a file contains binary and pcl file
# 1  
Old 10-11-2005
print image and text

I have a file that contain printer escape codes and text. How can I place the image on the top of each page in that file and print that text file out with the image in Unix.
Thank you.

Last edited by caol; 10-12-2005 at 12:00 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to edit a pcl (binary) file ?

Dear Gurus, I'm getting a bunch of print spool files in pcl format. I need to edit them moving graphics to i.e. right to make room for barcode stickers. I'm trying to run a script in AIX 7.1.0.0 to edit some pcl pointer positions to the right. i.e. change p1018X to p1818X. Piece of cake.... (11 Replies)
Discussion started by: emare
11 Replies

2. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

3. Shell Programming and Scripting

Output redirection of c binary file to a file in shell script is failing

I am struck up with a problem and that is with output redirection. I used all the ways for the redirection of the output of c binary to a file, still it is failing. Here are the different ways which I have used: ./a.out | tee -a /root/tmp.txt 2>&1 ./a.out | tee -a /root/tmp.txt 1>&1 ./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies

4. UNIX for Dummies Questions & Answers

Pipe binary file matches grep results to file

I am using grep to match a pattern, but the output is strange. $ grep -r -o "pattern" * Gives me: Binary file foo1 matches Binary file foo2 matches Binary file foo3 matches To find the lines before/after, I then have to use the following on each file: $ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies

5. Programming

Adding to a PCL file for print

I am trying to add some variable print to a list of pcl files within a folder. Am doing some programming within perl, bash and some other scripts. (Open to a format and language). I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (2 Replies)
Discussion started by: mach1
2 Replies

6. Shell Programming and Scripting

Adding to a PCL file for print - in a script

I am trying to add some variable print to a list of pcl files within a folder. Am doing some programming within perl, bash and some other scripts. (Open to a format and language). I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (1 Reply)
Discussion started by: mach1
1 Replies

7. UNIX for Dummies Questions & Answers

Create a PCL DUPLEX File using ghostscript-8.62

table.ubbfoot {background-color="#9999ff"} td.ubbfoot1 {font-size=8pt; font-family=arial,helvietica,swiss; color="#000000";} td.ubbfoot2 {font-size=8pt; font-family=arial,helvietica,swiss; color="#ffffff";} hello, i want to create PCL Duplex Output (to print) from a pdf File. i uses itanium (64)... (0 Replies)
Discussion started by: chzi
0 Replies

8. AIX

How convert PCL or PDF file to text in AIX

I need to conver a PCL or PDF file to text in AIX, and I donīt know how. (0 Replies)
Discussion started by: 10789
0 Replies

9. IP Networking

Print to RICOH Aficio 3245C PCL 6

I am wanting to print a file directly from UNIX to a RICOH Aficio 3245C PCL 6. I have installed CUPS and setup the printer as a Local Raw Printer (LRP). I am able to print to other printers :) but Ricoh requires a validation name & code to print:mad:. How do I provide the name and code (password)?... (0 Replies)
Discussion started by: stewarr
0 Replies

10. Solaris

compiled binary file gives "cannot execute binary file"

Hi, I have two Solaris machines. 1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60 I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
Login or Register to Ask a Question
XpSetImageResolution(3Xp)					 XPRINT FUNCTIONS					 XpSetImageResolution(3Xp)

NAME
XpSetImageResolution - Sets the resolution for subsequent PutImage requests SYNOPSIS
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> Bool XpSetImageResolution ( display, print_context, image_res, prev_res_return ) Display * display ; XPContext print_context ; int image_res ; int * prev_res_return ; ARGUMENTS
- display Specifies a pointer to the Display structure. - print_context Specifies the print context on which to set the resolution. - image_res Specifies the image resolution in pixels per inch. - prev_res_return Returns the previous image resolution in pixels per inch. DESCRIPTION
XpSetImageResolution returns True if the printer server allowed the resolution to be set, otherwise False is returned. XpSetImageResolution sets the resolution for subsequent PutImage requests to the screen of the specified print context. If the return value is False, then the print server does not support image scaling for the particular resolution given the current configuration of the printer, and the application is responsible for any desired scaling. If the return value is True, then the contents of any subsequent PutImage request to a Pixmap or to a Window on the screen of the specified print context will automatically be scaled as part of the PutIm- age request. The scale factor is: default_printer_resolution / image_res Where default_printer_resolution is the current value of that page attribute. Only the image itself is scaled (meaning the effective width and height of the image change), the dst-x and dst-y parameters to PutImage are not altered. As a special case, a value of zero for image_res resets the resolution to automatically track the printer resolution; in this case (which is also the default setting for a newly created print context), subsequent images will not be scaled. If the return value is True and prev_res_return is a non-NULL pointer, then the previous image resolution that was set for the print con- text is stored in prev_res_return. XpSetImageResolution returns False immediately if image_res is negative or greater than 65535. DIAGNOSTICS
XpBadContext A valid print context-id has not been set prior to making this call. X Version 11 libXp 1.0.0 XpSetImageResolution(3Xp)