Print settings changes our default settings for other applications too ... please help urgent

Hi ,

This is a problem with printer settings that we do from our application . 
Although in windows environment the settings should be valid only for a 
specific application till it is running , this seems that the printer 
settings prevail for other applications also .
users complaint :
Our application screws up the print settings on my computer.  I often 
cannot print the reports on legal paper .  At other times I can get the 
reports on legal paper, but then the printer will only print legal paper 
from any other application that I am using. 
0
jm
3/3/2003 3:21:30 PM
sybase.powerbuilder.datawindow 28057 articles. 4 followers. Follow

4 Replies
785 Views

Similar Articles

[PageSpeed] 27

That means that you are manipulating the default printer setting of the 
computer and doing it poorly.
What version of PB, OS, etc. ?
0
Philip_Salgannik
3/3/2003 6:04:06 PM
It is pb7.0.3 and windows 2000 .The application was created using 
cornerstone pfc libraries etc in version 5.0 . Now it has been migrated to 
the pb7.0.3 .
0
jm
3/3/2003 6:47:48 PM
Just to add some more info on the same , this problem does not occur on my 
machine though . Then should it mean that it is not the application it is 
something to do with the HP printer settings at the users end . I tried the 
following to test this :
I ran the application , retrieved a report , set the printer to legal paper 
( in the printsetup window) printed a report . Closed the application . 
Opened Microsoft word , checked the printer settings it was Letter for 
paper . 
So now what I understand from the problm the user is having is that the 
user has the application open while she is trying to print for other 
applications . But since th settings customized will stay as long as the 
application is open it certainly shows the modified settings .

Do you think so ....... thanks for the help 
0
jm
3/3/2003 7:11:50 PM
you may want to consider moving to PB8 where it does not affect OS printers
and keeps the app default printer to itself...also look at printer utility
for pb apps from www.powerwhizz.com for your needs


<jm> wrote in message
news:0A572B367C45D0DB00545DB885256CDE.00545DC885256CDE@webforums...
> Hi ,
>
> This is a problem with printer settings that we do from our application .
> Although in windows environment the settings should be valid only for a
> specific application till it is running , this seems that the printer
> settings prevail for other applications also .
> users complaint :
> Our application screws up the print settings on my computer.  I often
> cannot print the reports on legal paper .  At other times I can get the
> reports on legal paper, but then the printer will only print legal paper
> from any other application that I am using.


0
egattu
3/8/2003 12:18:02 AM
Reply:

Similar Artilces:

Help, Help, Help
Hello, I'm new to PB and using a ver. 7. All I wanted to do for the moment is to set my DataWindow to some of my SQL select statement.... That is, if I click the "Connect" the SQL select statement "new_select" will be viewed into the DataWindow "dw_CACHE". I tried lots of experiment and still failed! Below is a short code that I was doing. Kindly advice.... Regards, John ********************************************************************** string new_select // Set the default Transaction object properties (TestBed) SQLCA.DBMS = &...

Help, Help, Help !!!
Hello, I'm new to PB and using a ver. 7. All I wanted to do for the moment is to set my DataWindow to some of my SQL select statement.... That is, if I click the "Connect" the SQL select statement "new_select" will be viewed into the DataWindow "dw_CACHE". I tried lots of experiment and still failed! Below is a short code that I was doing. Kindly advice.... Regards, John ********************************************************************** string new_select // Set the default Transaction object properties (TestBed) SQLCA.DBMS = &...

Printing One Copy of the DataWindow to the Default Printer, Then Setting In Code a Second Printer and printing to it
I have a situation where I want to be able to allow the user to print to multiple printers with a single menu option. the way I thought this could be done is by first issuing the Print() function that would sent the first copy to the default printer, then In Code (ie. I don't want to us the PrintSetup() Function) I want to switch to a second printer and Issue the Print() function. I have not been able to find anyway of doing this in PB. Please let me know if I'm not looking hard enough or do I have to use Windows API Calls to do this. If you or anyone you know have, have trie...

LIVE Portal set up Probelm with Webhost4life URGENT HELP REQUIRED PLEASE CAN ANYONE HELP
Hi, Can someone please help!!!!!!!!!!!!!!!!!!!!!!!?????????????????????????? I set up a child portal called and called it: :TempDomainName/ChildPortal and the portal alias was called TempDomainName/ApplicationDirectory/dotnetnuke/ChildPortal.com Everything works fine. When I change the domain name from the portal settings to realdomain.com and alias to: Realdomain.com/dotnetnuke/ChildPortal.com I get a HTTP 403 Forbidden error you are not view this page. When I go directly to: Realdomain.com/dotnetnuke/ChildPortal.com I get a DotNetNuke Configur...

Please solve problem of SET DEFAULT GLOBAL AUTOINCREMENT before SET GLOBAL_DATABASE_ID
Currently, if the following statement ALTER TABLE ttt ALTER pkey SET DEFAULT GLOBAL AUTOINCREMENT ( 200000000 ); is executed while the value of db_property ( 'GlobalDBId' ) is still the "uninitialized" value 2147483647, before the first execution of a statement like this... SET OPTION PUBLIC.GLOBAL_DATABASE_ID = '0'; then SYSCOLUMN.max_identity is not set properly. The code in "Test 1" below shows how bad things happen (e.g., primary key violations) if you do the ALTER then SET OPTION, whereas the code in "Test 2" sh...

How to set the default page in a subdirectory? Please help
Hi,To organise my root folder a bit I'd like to put the content of my Root directory in a subdirectory, while the URL www.mysite.com/... appears without the subdirectory name. Is there a way to do this (I'm sure there is)?Thanks very much in advance  Hi There, I think URL Rewriting is something you want. Below is some of URL rewriting example: http://www.15seconds.com/Issue/030522.htm http://www.codeproject.com/aspnet/URLRewriter.asp http://msdn2.microsoft.com/en-us/library/ms972974.aspxDC517Don't forget to click "Mark as Answer" on the post that helped ...

Printed email font has changed. Need default setting
The default printed font changes when trying to print an email from groupwise 5.5. I have tried to change the font but it keeps reverting back to something bold. How do I put the default font settings back? Jay, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might try one of the following options: - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp - Check all of the other support tools and optio...

Urgent Help
Hi: I am using PB11.2 Build 6682, I am developing a .net web form application. After i have run the application it crashes. On further investigation/debugging i found that in our application most of the argumnets to functions are structures which are passed as reference arugments. Now setting values to the structure is causing the .net application to crash. for eg: function fo_get_emp_id() arguments: reference str_emp_detail astr_emp_detail --------------------------- function: long ll_emp_no astr_emp_detail.l_emp_no = detail.getitemnumber(row,"emp_no") ...

How to change default printer settings in Firefox (GTK applications under KDE)?
I'm trying to figure out how to change the default settings for my printer under Firefox. I'm mainly interested in changing the default print resolution and the pages-per-side layout setting I can change the settings for all KDE applications through Yast2 / http://localhost:631, but I can't seem to be able to find the respective dialog for Firefox / GTK applications. Firefox itself doesn't seem to have a dialog for the printer default settings; I've looked into about:config but all the value names are rather confusing. Any idea what to do? My system env...

Unable to set Datawindow.Label.Shape Property(Urgent Help)
Hi, I'm trying to set <DataWindow.Label.Shape> property but it gives sytax error. I thought it is a describe only property but according powerbuilder help it is not. I couldn.'t find any mistake Here is my code. any help Thanks //Line1 ok if(adw_source.Modify("DataWindow.label.ellipse_height='"+ls_height+"'") <> "") then MessageBox("Error","") //Line2 ok if(adw_source.Modify("DataWindow.label.ellipse_width='"+ls_width+"'") <> "") then MessageBox("Hata...

dw print dialog
I print a few datawindows in succession and I'd like to show the print dialog on the first -- dw_1.Print(true,true) -- and apply any changes made in the print dialog to the rest without showing the print dialog again. Any suggestions? One option is to use your own print dialog (PFC?), obtain the user's preferences then apply them via code to all the print jobs. Regards, John <Steve> wrote in message news:46a76a08.79af.1681692777@sybase.com... >I print a few datawindows in succession and I'd like to show > the print dialog on the first -- dw_1.Print(true,...

Please help me: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of
I'm using Dotnetnuke v3.2, when add 1 module, I got this error   "Error: Edit is currently unavailable.    DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DanPhong.DNN.Modules.DDTS.DDTSEdit.btnAddNew_Click(Object sender, EventArgs e) in d:\dnn3\desktopmodules\ddts\ddtsedit.ascx.cs:line 95 --- End of inner exception stack trace ---"Please help....How will I fix this error?  Thanx! Looking at the error y...

UPDATE without SET, or SET = DEFAULT
An UPDATE with no SET clause would still update the DEFAULT LAST USER and DEFAULT TIMESTAMP columns in the row(s). Or allow SET = DEFAULT, same effect. Breck bcarter@risingroad.com Mobile and Distributed Enterprise Database Applications ----- Visit http://www.risingroad.com for Tips and Techniques [TeamSybase] ...

How to set the print settings via css
Hi  Is it possible to get the printer to default print to landscape using CSS? (so the user doesn't have to change the  settings every time he takes a print out.) also i need to set the page size from letter to a4. Is this possible, if so can i have this. Thanks Janakiraman    No, this isn't possible via CSS.Website Design Darlington - http://mdssolutions.co.ukhttp://lessthandot.com - Experts, Information, Ideas & Knowledgehttp://aspnetlibrary.com - An online resource for professional ASP.NET developersPlease remember to click "Mark as Answer" ...

Web resources about - Print settings changes our default settings for other applications too ... please help urgent - sybase.powerbuilder.datawindow

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Development application for Holt golf course land open for public inspection
The developers selling 350 dwellings on disused parts of the Holt golf course have submitted their development application for public inspection. ...

Radius CEO Says Drug Application Delayed for `Work-Life Balance'
... Ward said. Radius fell 11 percent to $61.51 Tuesday after the company said in a statement that it was delaying submitting a new drug application ...

Samsung Unveils the Latest Application Processor, Exynos 8 Octa, Built on 14-Nanometer FinFET Process ...
Samsung Electronics Co., Ltd., a world leader in advanced semiconductor technology, today announced the newest member of its Exynos family of ...

MBA: Mortgage Refinance Applications Decrease in Latest Weekly Survey, Purchase Applications up 18% YoY ...
From the MBA: Refinance Applications Decrease in Latest MBA Weekly Survey Mortgage applications decreased 1.3 percent from one week earlier, ...

Elon Musk Requests Applications For Autopilot Software Engineers On Twitter
... and more quickly achieve “generalized full autonomy.” So, if you ever wanted to work for Tesla in such a [&hellip Elon Musk Requests Applications ...

Mortgage applications fall 1.3%
Despite a sharp rise in mortgage interest rates, mortgage application volume was not affected as much as expected.

Help wanted: Obama's tech-training project now accepting applications
Organizers of innovative training programs can now apply for a federal grant to help prepare low-wage workers for more-lucrative tech jobs.

Thousands of Java applications vulnerable to nine-month-old exploit
A popular Java library has a serious vulnerability, discovered over nine months ago, that continues to put thousands of Java applications and ...

Sony Mobile, LG reportedly to develop smartphone application processors in-house
... Communications and LG Electronics reportedly will follow the steps of Apple, Samsung Electronics and Huawei to develop smartphone-use application ...

Resources last updated: 11/22/2015 11:09:41 PM