Alstair
  Before printing the report make sure you have the text printer selected.
  R:> print reportname where .... OPTION Printer
 
  Found some other problems with that file also. It appears the text printer is 
putting some hidden control codes in the text file. When trying to read this 
file back into Sharepoint we are having problems with it. We are creating an 
XML file which is loaded into another program used by Sharepoint.  I know I can 
create an XML file with the Gateway but Gateway don't permit changing the names 
of the tags.
 
  In the end created a command file that has alot of write commands out to a 
file. 
 
Buddy
 
 
 -----Original Message----- 
From: [email protected] on behalf of Alastair Burr 
Sent: Fri 1/21/2005 6:31 AM 
To: RBG7-L Mailing List 
Cc: 
Subject: [RBG7-L] - Re: Page Breaks - Printing



        Thanks, Buddy, I've created a new Windows printer as you detailed and 
        changed the default printer on a report to the new one but it makes no 
        difference for me 

        This report, and many others, only ever get printed to a file, that is 
their 
        sole purpose in life. They never go to a screen or a printer or a fax 
or any 
        type of file other than plain text. There's no formatting - just line 
after 
        line of text. 

        There must be something else that I haven't got right yet. 

        Regards, 
        Alastair. 


        ----- Original Message ----- 
        From: "Walker, Buddy" <[EMAIL PROTECTED]> 
        To: "RBG7-L Mailing List" <[email protected]> 
        Sent: Thursday, January 20, 2005 10:00 PM 
        Subject: [RBG7-L] - Re: Page Breaks - Printing 


        > Alstair 
        >   Thanks for your reply. 
        > 
        >   The problem was if you printed to the screen or directly to the 
printer 
        everything was fine, but as soon as you print to a text file extra line 
        feeds/carriage returns are added at random spots in the file. 
        > 
        >  Work around. 
        > 
        >    1. Add a generic text only printer 
        >    2. Text Printer Properties > Device Settings > Form to tray 
Assignment 
        > Cont. Feed No Break 
        >        From the drop down select Not Available 
        >    3. This will work except it will prompt for a name. To get around 
this 
        do the following 
        >         Add a new printer that prints to the special "File:" port 
        >         From the printers' panel, right click on the printer you have 
just 
        added and select Properties. 
        >        A panel showing the properties for this printer will pop up, 
click 
        on the Details tab of this panel. 
        >        Click on the Add Port... button. 
        >        The Add Port panel will pop up, click on the Other radio 
button, 
        and make sure Local Port is highlighted, click on OK. 
        >        A small panel asking for the name of the port will pop up, 
enter 
        the name of a file in the edit box, for example   C:\Output.prn. 
        > 
        >    Maybe this will help others 
        > 
        > Buddy 

<<winmail.dat>>

Reply via email to