| Date | Title | Type | ||
|---|---|---|---|---|
| 3/15/05 |
23417 - When do changes to SAS options or goptions affect the ODS PRINTER family of destinations? First of all, an option only affects ODS PRINTER code when the option is specified before ODS PRINTER is initialized. (See FAQ 3338 for a list of system options that affect ODS PRINTER behavior.) For example, the ... http://support.sas.com/kb/23/417.html, 17KB |
Usage Note | ||
| 3/14/05 |
23414 - On the ODS PRINTER statement, what exactly do the PRINTER= and FILE= options represent? PRINTER= ODS PRINTER is a bifurcated destination; it talks to two totally different sets of drivers: PC host drivers are in effect under Windows without the PCL, PDF, PDFMARK, POSTSCRIPT (alias PS), or SAS ... http://support.sas.com/kb/23/414.html, 20KB |
Usage Note | ||
| 2/8/05 |
24185 - How do I send ODS PRINTER output directly to a printer? It depends on your platform. Sample code is included below for the various platforms. Be sure to verify that the code works for your local operating environment, because some details can differ. In the following ... http://support.sas.com/kb/24/185.html, 18KB |
Usage Note | ||
| 2/8/05 |
23416 - Which SAS system options affect the ODS PRINTER code? The following SAS system options affect ODS PRINTER code. This is not an exclusive list. Other options (such as NUMBER, DATE, and PAGENO=) affect ODS PRINTER code just as they affect the listing. Yet others (such as ... http://support.sas.com/kb/23/416.html, 19KB |
Usage Note | ||
| 2/8/05 |
24186 - How can I automate the printing of ODS PRINTER output? You can set up a printer definition in order to automate the process of printing directly from SAS. This process uses the (undocumented) DM command DMPRINTSETUP to set up a printer: Issue the dmprintsetup command. ... http://support.sas.com/kb/24/186.html, 18KB |
Usage Note | ||
| 2/8/05 |
24172 - How do I produce ODS PRINTER output for Ghostview? Use the PS option; for example, ods printer ps file="myfile.ps"; The Windows printer drivers for PostScript typically produce output that is valid for the printer in question, but not suitable for Ghostscript or ... http://support.sas.com/kb/24/172.html, 17KB |
Usage Note | ||
| 2/8/05 |
24215 - Why can't my printer be found for ODS PRINTER on the remote SAS/CONNECT session? First, the way remote-submits work with printing might not be quite what you expect; the remote SASUSER is used, so the printer must be in the remote session's SAS or Windows registry rather than your local registry. ... http://support.sas.com/kb/24/215.html, 17KB |
Usage Note | ||
| 2/7/05 |
23413 - How does the ODS PRINTER statement interact with the rest of SAS? The ODS PRINTER statement controls the same set of output as the ODS HTML statement; if you are already familiar with that statement, little more needs to be said. The SAS Ouput Delivery System (ODS) only affects the ... http://support.sas.com/kb/23/413.html, 18KB |
Usage Note | ||
| 8/28/07 |
24303 - Why does opening the ODS PRINTER destination change the appearance of the graphs in my ODS HTML output? When a SAS/GRAPH procedure is invoked, it defines the layout of the graph under the current settings and sends the image to each of the output destinations. Because a graph has only one layout regardless of the number ... http://support.sas.com/kb/24/303.html, 19KB |
Usage Note | ||
| 2/8/06 |
24217 - How can I shrink or grow my ODS PRINTER output? FONTSCALE doesn't seem to work. FONTSCALE is used only to tell ODS PRINTER code how to scale fonts that are specified using the old-fashioned HTML font size numbers; because the SAS 8 and later ODS PRINTER code ships with a style that uses "real" font ... http://support.sas.com/kb/24/217.html, 18KB |
Usage Note | ||
| 2/7/05 |
23415 - When does ODS PRINTER start a new file? If you are not in append mode, then any time you specify the FILE=, HOST=, PCL=, PDF=, PDFMARK=, POSTSCRIPT= (alias PS=), PRINTER= (alias PTR=), or SAS= options, ODS PRINTER closes the current file and starts a new file ... http://support.sas.com/kb/23/415.html, 17KB |
Usage Note | ||
| 4/26/04 |
23312 - What does ODS PRINTER do? The ODS PRINTER statement tells the Output Delivery System to deliver output directly to your printer, or to produce PDF, PostScript, or PCL files that are suitable for printing, viewing online, or converting into ... http://support.sas.com/kb/23/312.html, 16KB |
Usage Note | ||
| 10/2/07 |
23643 - How can I generate a GIF file from my procedure or DATA step output? Beginning with SAS 9.1, you can use the ODS PRINTER statement with the PRINTER= GIF option to create GIF files from a procedure or DATA step. This also enables you to maintain all of the styles such as the colors in the ... http://support.sas.com/kb/23/643.html, 17KB |
Usage Note | ||
| 6/20/05 |
24229 - Can I get images in my titles with ODS PRINTER? In SAS 8.2, ODS PRINTER can put images in the title area with the PREIMAGE= or POSTIMAGE= attribute. Try out the following code, which demonstrates this feature as well as other new features for SAS 8.2, such as inline ... http://support.sas.com/kb/24/229.html, 17KB |
Usage Note | ||
| 3/16/05 |
24231 - What fonts can I use with ODS PRINTER? That depends on which set of "drivers" you are using. The distinction between PC host drivers and SAS drivers is very important. Before you read the remainder of this topic, see FAQ 3336 about the PRINTER= option to ... http://support.sas.com/kb/24/231.html, 19KB |
Usage Note | ||
| 2/8/05 |
24175 - Why isn't ODS PRINTER PDF working right? Probably because you are using SAS 8.1. The ODS PRINTER PDF code is highly experimental in SAS 8.1 but is much improved in SAS 8.2. Basically, in SAS 8.1, it works if and only if you use 7-bit ASCII exclusively. you ... http://support.sas.com/kb/24/175.html, 19KB |
Usage Note | ||
| 10/18/07 |
24216 - What is Universal Printing, and when am I using it? In Release 8.1, SAS introduced Universal Printing, which enables the SAS drivers to print with the same functionality that has long been available to the PC host drivers. That is, as in Windows, now you can ... http://support.sas.com/kb/24/216.html, 22KB |
Usage Note | ||
| 7/15/05 |
24221 - What does COLOR=NO do in ODS PRINTER? In SAS 9.1 and later, If you want to allow grayscale backgrounds but disable colors, use COLOR=GRAY and BACKGROUND=NO. In SAS 8.2, COLOR=NO turns off all background colors. It does not turn the colors to grayscale. ... http://support.sas.com/kb/24/221.html, 17KB |
Usage Note | ||
| 6/20/05 |
24219 - How do I control page orientation for ODS PRINTER? The page orientation, and a number of other attributes of the ODS PRINTER code, are controlled by SAS system options. You must specify OPTIONS ORIENTATION= before you initialize the destinations to which it applies. ... http://support.sas.com/kb/24/219.html, 17KB |
Usage Note | ||
| 3/16/05 |
24236 - Why doesn't ODS PRINTER put the last part of my paneled table on a single page when there's room for it? To explain the question, first of all, it refers to cases where ODS PRINTER output is paneled; that is, where the table is too wide to fit on the page, so it is broken up into panels. For example, a table with columns ... http://support.sas.com/kb/24/236.html, 19KB |
Usage Note | ||
| 2/23/06 |
24233 - How do I set up custom fonts for ODS PRINTER? For SAS 9.1 and later, see Using TrueType Fonts with Universal Printing in SAS 9.1 (.pdf). TrueType fonts are portable across operating environments and support a wide range of international characters. If you are not ... http://support.sas.com/kb/24/233.html, 22KB |
Usage Note | ||
| 2/8/05 |
24214 - What level of PCL is produced with ODS PRINTER? That depends: yes Are you using the PCL option?----------------> PCL5 | no v no Are you running on Windows?------------------+ Usage Note 24214: What level of PCL is produced with ODS PRINTER? That depends ... http://support.sas.com/kb/24/214.html, 17KB |
Usage Note | ||
| 2/7/05 |
23315 - Where is the documentation about ODS PRINTER? SAS online documentation is available at support.sas.com/documentation/onlinedoc. You might want to read the documentation about general ODS concepts applicable to all ODS destinations. For Version 8: SAS System Help ... http://support.sas.com/kb/23/315.html, 17KB |
Usage Note | ||
| 10/3/08 |
24223 - How do I control margins in ODS PRINTER? The sample code shows how to control margins in PDF, PCL, and PS (Postscript) files. http://support.sas.com/kb/24/223.html, 17KB |
Usage Note | ||
| 6/21/05 |
24239 - How should I use CELLWIDTH= in ODS PRINTER tables? Header widths try to conform to the data cells beneath them, so setting CELLWIDTH= on the data columns works well. However, don't try to use CELLWIDTH= on the header cells. For SAS 8.2, a column is made as wide as the ... http://support.sas.com/kb/24/239.html, 17KB |
Usage Note | ||
| 6/21/05 |
24237 - Where does the UNIFORM option make a difference in ODS PRINTER? With the UNIFORM option, an output table stays at one width, even if it breaks across many pages. The width of a column is determined by its longest entry, and the column uses that width for the entire table. However, ... http://support.sas.com/kb/24/237.html, 18KB |
Usage Note | ||
| 6/21/05 |
24234 - What determines whether rules (gridlines) appear in ODS PRINTER output tables? A table has internal rules if one of the following is true: The CELLSPACING= attribute is nonzero and the background of the table is different from the background of the cells (this is called the contrasting ... http://support.sas.com/kb/24/234.html, 17KB |
Usage Note | ||
| 3/16/05 |
24222 - Why am I getting a new page after the BODY's PREIMAGE when STARTPAGE=NO in ODS PRINTER? Unfortunately, ODS forces a new page after the BODY's PREIMAGE, even when STARTPAGE=NO. This is a bug and it will be fixed in SAS 9.2. Here is an example of the code that does not work: proc template; define style ... http://support.sas.com/kb/24/222.html, 17KB |
Usage Note | ||
| 3/15/05 |
24241 - How can I draw a rule that fills a cell in ODS PRINTER tables? To draw a rule that fills the parts of a cell unfilled by text, or to fill the entire cell if there's no text at all, use the FILERULEWIDTH= style attribute. The value of FILERULEWIDTH= specifies its width. This ... http://support.sas.com/kb/24/241.html, 17KB |
Usage Note | ||
| 10/1/07 |
24240 - I used CELLWIDTH= for data and a spanning header in ODS PRINTER tables. Why is the output weird? That's a bug in both SAS 8.1 and SAS 8.2, but there is a hotfix for SAS 8.2. This is fixed for SAS 9. See also FAQ 4224 about using CELLWIDTH. http://support.sas.com/kb/24/240.html, 17KB |
Usage Note | ||
| 8/28/07 |
24304 - Can I get SAS/GRAPH images in my titles with ODS PRINTER? See FAQ 4213 about placing an image in a title by using ESCAPECHAR= in SAS 8.2 and later. Under SAS/GRAPH software, as of SAS 9.1.3, in-line formatting is not directly supported. This is because SAS/GRAPH creates the ... http://support.sas.com/kb/24/304.html, 18KB |
Usage Note | ||
| 7/11/05 |
24243 - Why am I getting blank rows when I set the data font and the cell height for a table in ODS PRINTER? The cell could be blank because the CELLHEIGHT= is too small for the font. Setting the cell height is not recommended. ODS automatically sets cell height appropriately. http://support.sas.com/kb/24/243.html, 17KB |
Usage Note | ||
| 7/11/05 |
24238 - Why am I getting the wrong character for my table rules (gridlines) for ODS PRINTER? This can be a problem with the character mapping. It affects the dashes (not the underscores) that make up some rules in PROC PLOT, PROC CALENDAR, PROC CHART, and other "batch-mode" procedures. Try issuing the system ... http://support.sas.com/kb/24/238.html, 17KB |
Usage Note | ||
| 7/11/05 |
24232 - How do I access national characters with ODS PRINTER? SAS 8.2 uses the LATIN-1 (ISO 9660-1) character set by default, so you can get to most Western European characters with a default SAS installation setup. (Asian characters are much more complex, and we aren't currently ... http://support.sas.com/kb/24/232.html, 17KB |
Usage Note | ||
| 6/21/05 |
24242 - How can I get rid of the rules (gridlines) in my table in ODS PRINTER? To get rid of rules in your table, you need to add three options to a STYLE statement within a TEMPLATE procedure. RULES=NONE removes the header rules. FRAME=VOID removes all of the borders from the table. BACKGROUND=_ ... http://support.sas.com/kb/24/242.html, 17KB |
Usage Note | ||
| 6/21/05 |
24235 - In ODS PRINTER, how can I get vertical rules between selected columns in a table? As of SAS 9.1.3, this is not supported. You can't, for example, get a vertical rule after the ID column but omit the rule between every column of data. http://support.sas.com/kb/24/235.html, 17KB |
Usage Note | ||
| 6/21/05 |
24230 - Why are lines wrapping or double-spacing with ODS PRINTER? Oftentimes, lines wrap because the linesize or font is not sized properly. The default for the fixed-width font is 6.7pt. This fits LS=132 on portrait letter paper, which is the narrowest commonly used paper size. To ... http://support.sas.com/kb/24/230.html, 17KB |
Usage Note | ||
| 6/20/05 |
24220 - Why doesn't OPTIONS NOCENTER work with titles or tables when I use my custom style with ODS PRINTER? The JUST= style attribute takes precedence over OPTIONS CENTER or OPTIONS NOCENTER. http://support.sas.com/kb/24/220.html, 16KB |
Usage Note | ||
| 3/15/05 |
24213 - Does ODS PRINTER have an AFP driver? There is no current plan to offer an AFP driver. Development has been focused on features with greater customer demand. However, if customer demand increases, we will consider creating an AFP driver. http://support.sas.com/kb/24/213.html, 17KB |
Usage Note | ||
| 3/10/05 |
24176 - Why doesn't my ODS PRINTER PDF document open on page 1? Because you're running SAS 8.1 or prior. This is fixed in Release 8.2 and later. http://support.sas.com/kb/24/176.html, 16KB |
Usage Note | ||
| 3/8/05 |
24171 - How can I get PDF output from the ODS PRINTER code? In SAS 8.2 and later, this is supported directly with the ODS PDF statement. The SAS 8.2 output has a few problems, mostly concerning links (FAQ 4150). Those problems are fixed for SAS 9. In SAS 8.2, the PDF output is ... http://support.sas.com/kb/24/171.html, 17KB |
Usage Note | ||
| 3/31/05 |
24178 - How can I control PDF links, tables of contents (bookmarks), and notes? In SAS 8.1, the PDFMARK option with the ODS PRINTER statement inserts special tags into the PostScript file that allow Adobe Acrobat Distiller to do special markup. In SAS 8.2 and later, the PDF option improves upon ... http://support.sas.com/kb/24/178.html, 20KB |
Usage Note | ||
| 4/17/07 |
24559 - Can I change the orientation inside an RTF or PDF file? Starting in SAS 9, the following logic can be used to create an RTF file which toggles orientation inside the file. The same capability is not currently available with the ODS PRINTER destinations (PCL/PDF/PS); however, ... http://support.sas.com/kb/24/559.html, 17KB |
Usage Note | ||
| 8/19/05 |
24319 - Can I add a watermark to my ODS PDF output? Starting in SAS 9.1, code like the following can place an image behind a table. The size of the image is not controlled by SAS. proc template; define style watermark; parent=styles.printer; style header from ... http://support.sas.com/kb/24/319.html, 17KB |
Usage Note | ||
| 8/19/05 |
24183 - Can I move the page number and/or date from the top right-hand corner of the ODS PDF page? Starting in SAS 9.1, you can move the page number and date around with PROC TEMPLATE, by setting the JUST= and VJUST= attributes in the style elements that control them. proc template; define style move; parent= ... http://support.sas.com/kb/24/183.html, 17KB |
Usage Note | ||
| 1/16/09 |
24182 - How can I get rid of the blue border around URL= links in an ODS PDF file? The color of the border box around a URL link is controlled by the LINKCOLOR style attribute. In SAS 9.0 and later, you can suppress borders on PDF links with LINKCOLOR = _undef_ in the document style element. Use a ... http://support.sas.com/kb/24/182.html, 20KB |
Usage Note | ||
| 1/20/06 |
24174 - How do links work under PDF in ODS? The links are somewhat malformed in SAS 8.2 (see FAQ 4150; this has been fixed in SAS 9). But the error in the formation of the links will not cause a problem for most of you. So here is the theory of how they are ... http://support.sas.com/kb/24/174.html, 20KB |
Usage Note | ||
| 10/27/05 |
24448 - Can I change the version of PDF created by ODS PDF? The version of PDF created by ODS PDF in SAS 8.2 is 1.2, and in SAS 9.1 the version is 1.3. This information can be changed in the PDF file's header record with the below code, which updates the following key in the SAS ... http://support.sas.com/kb/24/448.html, 17KB |
Usage Note | ||
| 8/22/05 |
24321 - How can I create PDF files which embed the desired fonts? The following two documents discuss the fonts issue in SAS 9.1. http://support.sas.com/techsup/technote/ts659/ts659.html http://support.sas.com/documentation/onlinedoc/base/91/freetype-hub.pdf In addition, the ... http://support.sas.com/kb/24/321.html, 18KB |
Usage Note | ||
| 1/16/08 |
30935 - How can I center all of the output created by PROC PRINT in ODS? PROC PRINT output routed to the non-LISTING destinations (HTML, PDF & RTF) can be controlled by PROC TEMPLATE or by the STYLE(<location>) option on the PROC PRINT statement. This ODS RTF sample code shows how to ... http://support.sas.com/kb/30/935.html, 20KB |
Sample | ||
| 10/17/07 |
24306 - Can I remove titles on some pages in ODS PDF output? You might not want the titles to repeat on each page when you have, for example, very long tables with long headers and lots of system titles. You might prefer to have the titles appear just on the first page or just ... http://support.sas.com/kb/24/306.html, 19KB |
Usage Note | ||
| 8/28/07 |
24227 - Why is DATA _NULL_ output misaligned when I use in-line formatting with ODS? The workaround for this problem is options nocenter; This problem will be addressed in a future release. Why is this happening? By default, all output is centered, including batch-mode output, which is produced by ... http://support.sas.com/kb/24/227.html, 18KB |
Usage Note | ||
| 8/28/07 |
24488 - Can I use a relative path to point to an image I want to place in an ODS PDF or ODS RTF file? When you place an image in an RTF file with PREIMAGE= or POSTIMAGE=, you can specify an absolute or URL reference. ods rtf file="file.rtf"; proc report nowd data=sashelp.class style(report)={preimage='directory- ... http://support.sas.com/kb/24/488.html, 17KB |
Usage Note | ||
| 8/30/06 |
24493 - Is there a style that mimics the LISTING destination that I can use in HTML, PDF, or RTF destinations? By design each of the destinations has a different look because each one has a different audience. HTML is meant to be viewed on the Web, and PDF is meant to be printed or viewed from Adobe Acrobat Reader. Therefore, ... http://support.sas.com/kb/24/493.html, 19KB |
Usage Note | ||
| 1/4/06 |
24472 - How do I turn OFF compression of PDF in 8.2? In SAS 8.2 (default install), there is no compression of ODS PDF output files. If you apply Hotfix 82bb97, you get compression, by default, of PDF files, along with this list of fixes: ftp.sas.com/techsup/download/ ... http://support.sas.com/kb/24/472.html, 18KB |
Usage Note | ||
| 11/30/05 |
24460 - Can I add a standard line of text to all of my ODS output? You can use PROC TEMPLATE to change or create a style definition. Specify text with the POSTTEXT= argument in the PAGENO style element. Then when you specify the style, the text appears beneath the page number in the ... http://support.sas.com/kb/24/460.html, 18KB |
Usage Note | ||