Ismet, Glad that it worked. I don't know why lpr was complaining before.
Just so you know, I had some trouble whith the printer hanging during prints early on. I think it had to do with the page length in the DEVICE being being different than somewhere else, and it was putting out an infinite number of CR's trying to reach the page end. If you are printing fine, don't worry about it. But if you get hangs, let me know and I'll try to figure out what the problem was. Kevin --- "Ismet Kursunoglu, MD" <[EMAIL PROTECTED]> wrote: > Thanks very much Kevin, you got me thinking more > clearly about the whole > process. After making the changes according to your > referenced note I > kept getting the unknown printer error as below: > > > OUTPUT FROM WHAT FILE: PATIENT ALLERGIES// > SORT BY: NUMBER// > START WITH NUMBER: FIRST// > FIRST PRINT FIELD: .01 PATIENT > THEN PRINT FIELD: > Heading (S/C): PATIENT ALLERGIES LIST Replace > DEVICE: test TEST-LINUX-PRINTER HOME LAN > > Do you want your output QUEUED? NO// (NO) > lpr: HL1240: unknown printer > > I installed the cups bsd compatibility (which has > fixed many other > problems that I have had with cups printing > configurations in the past) > > # apt-get install cupsys-bsd > > And it worked! Now I can go to town on the huge > number of options that > VistA and Cups together allow for controlling the > print jobs. > Outstanding thank you so much. > > I guess there was some dependency in the lp system > that was missing? Any > one else experiencing this? > > > > > Kevin Toppenberg wrote: > > I have written my process to a web page on the > wikki. > > Here is the link. See if that gets you going. > > > > > http://openforum.worldvista.org/~forum/index.php?title=Setting_up_a_Linux_Printer > > > > Kevin > > > > --- "Ismet Kursunoglu, MD" <[EMAIL PROTECTED]> > > wrote: > > > > > >>Kevin mentioned in one of his very helpful notes > to > >>this list, > >> > >>"Printing success & description of method" > >>Kevin Toppenberg Mon, 10 Jan 2005 17:57:07 -0800] > >> > >>the entries for the device file including the > >>following: > >> > >>PRE-OPEN EXECUTE: DO SETJOB^ZZZPRNTR(.IO) ;Note: > >>Change IO (output file) > >> > >>What should the output file be? Is that the spool > >>directory for the > >>client, the URI of the printer or the type of file > >>i.e. PDF/PS > >> > >>I have setup CUPS on one of the LAN servers here > (in > >>this case running > >>under FreeBSD 4.8) and can print from all the > Linux > >>workstations as well > >>as from a Windows 2000 Pro box. I think I am > almost > >>there in printing > >>from within VistA/GT.M/Debian. This is what I > have > >>so far: (the printer > >>is a Brother 1240 laser) > >> > >>OUTPUT FROM WHAT FILE: DEVICE// > >>Select DEVICE NAME: test-LINUX-PRINTER HOME > LAN > >> $I: > >>ANOTHER ONE: > >>STANDARD CAPTIONED OUTPUT? Yes// (Yes) > >>Include COMPUTED fields: (N/Y/R/B): NO// - No > >>record number (IEN), no > >>Computed > >> Fields > >> > >>NAME: TEST-LINUX-PRINTER $I: $I: > >> ASK DEVICE: NO ASK > >>PARAMETERS: NO > >> SIGN-ON/SYSTEM DEVICE: YES QUEUING: > >>ALLOWED > >> LOCATION OF TERMINAL: HOME LAN LOCAL > >>SYNONYM: HL1240 > >> ASK HOST FILE: NO ASK HFS > I/O > >>OPERATION: NO > >>MNEMONIC: HL1240 > >> POST-CLOSE EXECUTE: DO > FINISH^ZZZPRNTR("HL1240") > >> PRE-OPEN EXECUTE: DO SETJOB^ZZZPRNTR(.IO) > >> SUBTYPE: P-HPLASER-P12 USE > TIMEOUT > >>ON OPENS: NO > >> TYPE: TERMINAL > >> PRINT SERVER NAME OR ADDRESS: 192.168.0.105 > >> REMOTE PRINTER NAME: HL1240 ASK > DEVICE > >>TYPE AT SIGN-ON: > >>YES, ASK > >> > >>Also should one use the URI/IPP or the IP address > >>for the printer address? > >> > >>Thank you. > >> > >>Ismet > >> > >>-- > >>Ismet B. Kursunoglu, MD, FCCP > >>Medical Director > >>Alaska Clinic, LLC > >>3750 Country Field Circle, UNIT B > >>Wasilla, Alaska 99654 > >>[EMAIL PROTECTED] > >>(907)357-7240 > >> > >> > >> > > > > > ------------------------------------------------------- > > > >>This SF.Net email is sponsored by: NEC IT Guy > Games. > >> How far can you shotput > >>a projector? How fast can you ride your desk chair > >>down the office luge track? > >>If you want to score the big prize, get to know > the > >>little guy. > >>Play to win an NEC 61" plasma display: > >>http://www.necitguy.com/?r=20 > >>_______________________________________________ > >>Hardhats-members mailing list > >>[email protected] > >> > > > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy > Games. How far can you shotput > > a projector? How fast can you ride your desk chair > down the office luge track? > > If you want to score the big prize, get to know > the little guy. > > Play to win an NEC 61" plasma display: > http://www.necitguy.com/?r=20 > > _______________________________________________ > > Hardhats-members mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > -- > Ismet B. Kursunoglu, MD, FCCP > Medical Director > Alaska Clinic, LLC > 3750 Country Field Circle, UNIT B > Wasilla, Alaska 99654 > [EMAIL PROTECTED] > (907)357-7240 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > How far can you shotput > a projector? How fast can you ride your desk chair > down the office luge track? > If you want to score the big prize, get to know the > little === message truncated === __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members
