|
Rommy, There is no page range support if you connect a printer via a remote output queue with CNNTYPE(*IP). To get page range support you need to define an IP printer device. This will have DEVCLS(*LAN) LANATTACH(*IP) RMTLOCNAME('10.10.10.4'). The LAN device attaches to a standard output queue via a standard print writer. I used to have a freeware routine that would give you pagerange support on remote TCP/IP output queues, but it became obsolete once IBM added the LAN device support, and I don't think I have the source any more. Dave Kahn Johnson & Johnson International (Ethicon) France Phone : +33 1 55 00 3180 Email : dkahn1@jnjfr.jnj.com (work) dkahn@cix.co.uk (home) -----Message d'origine----- De: Rommy Prawirasatya [mailto:ROMMY@MULTIPOLAR.CO.ID] Date: 10 September 1999 11:17 À: MIDRANGE-L (E-mail) Objet: PRINTONIX P5215 connection to AS/400. HELP! Dear all, Our customer have PRINTONIX printer Model P5215 with ETHERNET card attach to the printer. Planning to communicate with AS/400 via LAN with TCP/IP. Currently they're using Client Netware or IPX as their network protocol. I've tried using CRTOUTQ with these parameters: OUTQ(TEST QGPL) SEQ(*FIFO) RMTSYS(*INTNETADR) RMTPRTQ(D1PRN) AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE(*OTHER) TRANSFORM(*YES) USRDTATFM(*NONE) MFRTYPMDL(*IBM6404) WSCST(*NONE) INTNETADR('10.10.10.4') CLASS(A) FCB(*NONE) DESTOPT(*NOWAIT) Others parameter use default value. After that, I use STRRMTWTR with these parameters: OUTQ(TEST QGPL) WTR(*OUTQ) Others parameter use default value. In WRKSPLF, we use option 2 to CHGSPLFA with these parameters: DEV(*OUTQ) PRTSEQ(*SAME) FORMTYPE(*STD) COPIES(1) RESTART(*STRPAGE) OUTQ(TEST QGPL) FILESEP(0) PAGERANGE(1 *END) SCHEDULE(*IMMED) SAVE(*YES) OUTPTY(2) USRDTA(*SAME) ALIGN(*NO) PRTQLTY(*STD) Others parameter use default value. It all really done well, mean this Printonix printer can print the spool file well, with this simple configuration (without CRTDEVPRT). BUT...when the customer might have to select pages to print out, such as customer want to print page 20 to 50 from 100 pages total, it didn't do well,...mean that it printed all the 100 pages. I have change the parameter at CHGSPLFA, PAGERANGE (20 50), BUT the result then...it still printed all the 100 pages. Do anyone in this forum have any experience with printer with ehternet card attached or printer with IP address? Maybe anyone of you can give me better solution about this. Appreciate for all your suggestions. Note: I've tried to CRTDEVPRT with the compatible type for these PRINTONIX printer as said in the Printonix Guide Book, it said that's compatible with IBM ProPrinter XL, but it always failed. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.