Skip to main content

Customized Page for Printer

  • Intro
  • How to Create Customized papper (Windows XP)
  • Set the Customized papper as Default paper to the printer.

Intro

When i was working with several projects; customers are using pre printed invoices for print their bills.For printing invoices i used Crystal Reports. for print particular information on that pre printed invoices i had to waste lots of time with doing alignments. If that pre-printed bill is A4 then its easy for me to set alignments because most of every printer supports A4 papers.(NOT POS PRINTERS). But if the customer select a Paper which is not supports to the printer then i have to waste lots of time to set the paper alignments.

New printers are supporting user to set their own customized paper. But lots of companies still using dot matrix printers for print lots of invoices. It is easy and economical. Most of all Dot matrix printers does not have a feature to customized the paper size.Windows XP has a option to user defined paper on Printer and Faxes in the control panel. Unfortunately some of printers are not supporting this feature.But Luckyly printers like Epson LX-300+ (very popular dot matrix printer) supports customized papers.If the paper size is supports to the printer other things going to be very easy

How to Create Customized paper (Windows XP)

(Assume have Epson LX-300+ printer attached to my PC)
Open Control Panel an double click on Printers and Faxes.


Select File
select Server Properties



Then you can see Print Server Properties Dialog Box.
Put a Check Mark on Create a new form under Forms tab.

Now you can define Paper size and printing margins on Form description (measurements) Area.
After finish your work give Appropriate Name on Form Name and click Save Form.


Set the Customized paper as Default paper to the printer

Right Click on Epson LX-300+ printer and select Properties.

click Printing Preferences
from Printing Preferences dialog box click Advanced button
From the Advanced Option dialog box select Paper Size and click the paper name you already created.
click OK twice.
Select Device Settings Tab from Properties Dialog Box.
Choose Customized paper for Manual Feed:, Sheet Feeder: and Tractor Feed:.

click OK.

Now your Printer Default paper settings are set to your Customized paper.

Comments

Popular posts from this blog

Application Configuration FIle Visual Studio 2005

Through the application configaration file You can easily save values to later usage. you can create a application configuration file from project > Add New Item (Ctrl + Shift + A) example You want to add get string from config file Create a Config file using above step. after that insert following code to the config file. its a XML file. appsettings add key="DatabasePath" value="c:\\projects\data\spider.mdb" add key="SupportEmail" value="webmaster-1@dotnetspider.com" appsettings configuration in the coding add following Dim app As New System.Configuration.AppSettingsReader Dim s As String s = app.GetValue("DatabasePath", Type.GetType("System.String")) MessageBox.Show(s) its very easy when you are handling databases. you can store database connection string in that config for later reusabilty. Please post your comments

Expire Session When the Browser Close [Codeigniter]

I wanted user to log again to the site whenever they close the browser. i searched everywhere and i found the easiest way. application/config/config.php sess_expire_on_close = TRUE Easy Session Preferences You'll find the following Session related preferences in your file: Preference Default Options Description sess_cookie_name ci_session None The name you want the session cookie saved as. sess_expiration 7200 None The number of seconds you would like the session to last. The default value is 2 hours (7200 seconds). If you would like a non-expiring session set the value to zero: 0 sess_expire_on_close FALSE TRUE/FALSE (boolean) Whether to cause the session to expire automatically when the browser window is closed. sess_encrypt_cookie FALSE TRUE/FALSE (boolean) Whether to encrypt the session data. sess_use_database FALSE TRUE/FALSE (boolean) Whether to save the session data to a database. You must...