Browse
 
Tools
Categories

Bullzip Print Driver - Development Notes

Author: Steve Childs Reference Number: AA-02008 Created: 2013-02-08 07:10 Last Updated: 2013-09-11 06:10 0 Rating/ Voters

How the Bullzip driver is integrated with OneSource and what steps the process goes through when printing.

OneSource Setting:

  • Select 'Global' Preference Type in 'Company Setup and Preference' form.
  • Select 'Default PDF Printer' as 'BullZip' (In 'General' tab)
  • Then select 'PDF File Create Path'. (In 'General' tab)

Bullzip Printer setting :

  • 'General' tab :
  1. Select '<env:TEMP>' macro as File Name and change 'TEMP' word to 'PDF'.
  2. Select 'Remember last folder' check box only.
  • 'Dialogs' tab :
                Select 'Never' option in both 'Save As - Dialog' and 'Settings - Dialog' sections.

  • 'Actions' tab :
                Select 'No' option in 'Show Document' section.

Steps the process goes through when printing :

  • Check the default PDF printer name from CSP settings.
  • If it's 'BullZip' or 'BioPDF' printer,process will assign PDF file save path to User Environment variable. 
  • Then it'll check the report file already exist or not in PDF save path. If it's exist, process will delete that file before create new PDF file.
  • Check the  default printer settings and assign those setting into local variables.
  • If default printer is 'BullZip PDF Printer' process will change to another printer as default printer.
                  Here the Steps:

  1. Search the current user default printer name in 'OneSourceLogin.xml' file from data file path.
  2. If there exist current user default printer name it'll assign as default printer name.
  3. If it's not there ('OneSourceLogin.xml' file or Default printer name),process will randomly select printer names installed in user machine and  it'll assign as default printer.
               Note: Before set the 'BullZip PDF Printer' as default printer it need to make sure default printer is not the BullZip.

  • Then process will set 'BullZip PDF printer' as default printer.
  • Import related report file from reports database (If it's not exist) and view it Normal mode.
  • If user select 'PDF' option ('Display' mode)  from Print Screen process wait until related report pdf file is create. When finished the pdf file is create it'll show up on the screen.
  • If user select 'Email PDF' option ('Email' mode)  from Print Screen process wait until related report file create. When finished the pdf file is create it'll automatically attached with outlook express window and show up. 
  • Finally reset the original default printer name setting as default printer (Using local variables).