Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!ucsd!pacbell.com!att!linac!fnal.fnal.gov!yossie From: yossie@fnal.fnal.gov (Yossie Silverman) Newsgroups: comp.sys.mac.system Subject: Printing questions... Message-ID: Date: 30 Jan 91 17:36:08 GMT Sender: daemon@linac.fnal.gov Organization: Fermilab Lines: 29 Hi, I am trying to print from an XCMD. I have found what seems to be a bug in the LaserWriter driver. IM I claims that you cannot create a picture while printing a PAGE, it says nothing about doing so between PrOpenDoc and PrCloseDoc. Well, it turns out that most printer drivers follow this rule, I.e. creating pictures is ok between pages, in a doc, but the LaserWriter doesn't. My solution was to create another port, make the picture in it, and simply switch back and forth whenever necessary. I am curious to know if I misread the documentation or is this really a bug. Another question. Where in hell are PREC's stored? Basically I want to use the PageSetup information from HyperCard in my XCMD. BUT, when I Page Setup to LandScape (which is really the only thing I want to have set) in HyperCard, it remembers this, but when I PrDefault in the XCMD, I get Portrait mode. If I could reliably set LandScape mode, from within the XCMD, I wouldn't worry about it, but since it seems I can't, I need a way to get at the HyperCard settings. Basically I don't want to put up a Page Setup dialog from the XCMD every time. Currently my method is pretty ugly, I just created a PREC 1001 resource containing a Print Record with LandScape set up and I just fetch it in the XCMD and use it as is. Thanks in advance - Cheers - Yossie --- yossie@fnal.fnal.gov; yossie@fnccf.bitnet What did the Caspian Sea? - Saki