Print to Windows PDF printer from AIX


 
Thread Tools Search this Thread
Operating Systems AIX Print to Windows PDF printer from AIX
# 1  
Old 02-25-2015
Print to Windows PDF printer from AIX

Hopefully this is the correct place to post this, if not please let me know.

I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to research it, since the print queue will be unattended it will need to just auto save a file name (date/time or something along those lines). In the end it will save it to a folder which users will be able to access.

Currently I have an AIX print queue with a print filter that converts it to postscript and then I modify the information/move it around on the page and add some logos etc. I just queue them up during the day (as well as print them to a physical printer for the user) and at the end of the day use Adobe Distiller in windows to covert them to PDF and use some VB I wrote to create indexes and process all the files through distiller.

I am pretty sure there is a better way to do this, it is currently automated but it requires the users to still physically print out the pages and then turn around and scan to PDF since they need them at that moment. The end of day PDF converting is just for long term document storage that will be lossless since it isn't printed/scanned.

The users then shred the documents that were printed, so if I could get it to PDF from the start that would be ideal and I could deal with getting indexes created after the fact.

So I guess the question is does anyone know of a windows PDF printer that will work with Windows Printer Services for UNIX and automatically create PDF's on the windows side for practically instant access to the PDF by the users.

Thanks in advance.
# 2  
Old 02-25-2015
# 3  
Old 02-25-2015
You would need to have a print server running on Windows for AIX to send to, normally listening on TCP port 515. You can then define a remote printer to AIX and it should talk using the lpd protocol.

For a print server, we had a need to convert Xerox Escape Sequence (XES) formatted data (a rather old application generated the print file) and we have no printers that recognise XES any more. Our are PCL or occasionally PostScript. We found a German company that provided just what we needed and they are pretty cheap too.

Start page - docuFORM GmbH

I hope I'm not breaching the advertising rules, but it is as a customer.


It allowed us to convert characters that had been hard-coded into the application that the old Xerox printers used that were non-standard for the current devices too. You may also consider MPI Tech, IHS Systems and others, but this is the one we settled on.

If you data requires no conversion, then that's fine too.



Robin
# 4  
Old 02-25-2015
Code:
     1  #!/usr/bin/ksh                                              
     2  #email pay stub to employee, as password protected pdf and  
     3  #store pdf file in pay period folder in payhistory folder   
     4  EMAIL=$1                                                    
     5  PERIOD=$2                                                   
     6  EMPL=$3                                                     
     7  PASSWORD=$4                                                 
     8  PAYSTUB=$6                                                  
     9  EMAILFLAG=$5                                                
    10  PAYROLL=$7                                                  
    11  echo $1 $2 $3 $4 $5 $6 $7 >>email.log                       
    12  if [ ! -d payhistory ]                                      
    13  then                                                        
    14          mkdir payhistory                                    
    15          chmod 0755 payhistory                               
    16  fi                                                          
    17  if [ ! -d payhistory/$PAYROLL ]                             
    18  then                                                        
    19          mkdir payhistory/$PAYROLL                           
    20          chmod 0755 payhistory/$PAYROLL                      
    21  fi                                                          
    22  if [ ! -d payhistory/$PAYROLL/$PERIOD ]                     
    23  then                                                        
    24          mkdir payhistory/$PAYROLL/$PERIOD                   
    22  if [ ! -d payhistory/$PAYROLL/$PERIOD ]                  
    23  then                                                     
    24          mkdir payhistory/$PAYROLL/$PERIOD                
    25          chmod 0755 payhistory/$PAYROLL/$PERIOD           
    26  fi                                                       
    27  /usr/gnu/bin/enscript -f Courier10 -p - <$PAYSTUB |\     
    28  ps2pdf  -  payhistory/$PAYROLL/$PERIOD/$EMPL.pdf

Make "payhistory" a shared folder (Samba/NFS) and replace enscript with your script that assembles the Postscript file.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Remote print from SLES (SAP) to AIX 7.1 04 sp2 virtual printer queue gets down

Hello Administrators. I have a bit difficult problem. I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device. whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies

2. AIX

How to print PDF files on AIX 5.3?

Hello All, How to print PDF files on AIX 5.3 and 6.1 because i tried adobe reader with no success, any help will be highly appreciated. Thank you (8 Replies)
Discussion started by: moudmm
8 Replies

3. AIX

Create pdf printer queu

I need to create a print queue in AIX to be able to print directly to pdf (or a network based printer) from a informix based application (Genero/FourJ). I have a AIX 5.3 a I canīt find any documentation for this. If possible I would not like to use any thirth party software. Can someone help me on... (2 Replies)
Discussion started by: marques_rmc
2 Replies

4. AIX

AIX printer and extra blank page after each print

Guy's I have installed AIX direct Network printer as the below details.... printer1 hp@printer1 hplj-3 (HP-GL/2) Printer is printing fain and clearly but it's printing extra blank page after each print ? What's the couse of this problem ? Pls advice ! (6 Replies)
Discussion started by: ITHelper
6 Replies

5. UNIX for Dummies Questions & Answers

smbclient print while preserving windows printer settings?

I have successfully gotten AIX to print to a windows shared printer with this command: smbclient -U user%password -W domain -c "print file.ext" the only problem is: I have this print queue set up on the Windows side to overlay an image to all pages. When printing from samba, the overlay... (2 Replies)
Discussion started by: raidzero
2 Replies

6. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

7. UNIX Desktop Questions & Answers

wt is the exact procedure to share windows printer on linux machine to print from it

hi, what is the exact procedure to to set up printer on linux machine?The printer is a network hp 3050 printer configured on windows xp machine and i want to setup it on linux fc9 machine to print from it.is samba is compulsory for that? please give the exact procedure to do the same? (1 Reply)
Discussion started by: pankajd
1 Replies

8. UNIX for Advanced & Expert Users

Configure SCO Unix to print on windows base XP printer

Hi, I have done this year ago, and now I need to do it again, but did not remember how I do it. I have a slip printer on a windows xp workstation and i need to print from SCO unix application to that printer. I try to create a remote printer but the only option available is unix, the other to... (0 Replies)
Discussion started by: comsiconsa
0 Replies

9. AIX

AIX 5.2 print to a local printer

HHi guys . I have this problem ,I'm trying to print to a local machine (windows from the aix box , I;m using tiny Term Emulator) I mean i have no idea what should i do to get this going. The printer is connect it to the pc , it does not have an ip address. Thanks a lot Jose (0 Replies)
Discussion started by: josramon
0 Replies
Login or Register to Ask a Question