Print UDO with button using SDK

Hi all,
I create an User Defined Object based on user table.
My customer want to print the form. How can i do ????
I created a query in Query manager and i create Query Print Layout but i can't used it with <CTRL-P> command.
How can i used it when i print my form ??
So, i want to use PLD but .... It is normal that the menu "Print Layout Designer" was not accessible for the customize form ??
Thanks for your responses.
Best regards.
Michael

Hi,
I'm create a form xwith Screen Painter. I add a print button on my form.
So i want to print my form correctly. When i'm use File/Print, i have the Print preferences where i can choose to print Window or Table but the print page is horrible.
With my form, i can't use the tool Print Layout Designer and i don't understand why ? So how can i do to print correctly my form ???
Thanks.
Best regards.
Michael

Similar Messages

  • How to give readonly Permission rights to 1000 users with button using powershell script?

    $site = Get-SPSite
    -Identity "http://mysite/"
    $user = Get-SPUser
    -Identity "mydomain\myuser"
    -Web $site.RootWeb
    $assignment = New-Object
    Microsoft.SharePoint.SPRoleAssignment($user)
    $role = $site.RootWeb.RoleDefinitions[[Microsoft.SharePoint.SPRoleType]::Reader]
    $assignment.RoleDefinitionBindings.Add($role);
    foreach ($web in $site.AllWebs)
        if ($web.HasUniquePerm)
            $web.RoleAssignments.Add($assignment)
    With above script I can give Readonly permission to the users...but at a time I can give permission to only one user...Actually 1000 users requires these permissionMy requirement is I will have a textbox and a button.I will enter username in textbox
    and when i clicked button the required permission should be assigned to the user given in the textbox...can you please tell how can i achieve this........how make to run powershell script when button is clicked.

    Hello,
    Instead of applying security to user level, it'll be better to create a SharePoint group where you will add the users. and use the outof the box interface to give permissions.
    and for your button, just add the direct link to add user
    http://serverurl/_layouts/15/aclinv.aspx?GroupId=7&IsDlg=1 
    replacing the group ID by the id of your new group (you can see it in the url when your are in the group)
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Creating 'print this page' button using AS3

    Hi all,
    I need to create a button, or at least a movie clip that
    functions like a button that will print a page when clicked.
    Ideally I would like to have the button as part of the flash
    application, which will be online embedded into a web page as a
    .swf. on click the print page dialog box will appear, and the user
    will be able to print out the web page. What is the best way to
    code this?

    sure. the swf's main timeline is a movieclip, so if you want
    to print everything that's on the swf stage, use the printjob()
    class to print the main timeline.

  • How do i access advanced black & white print mode with CS6 using OS 10.8

    We are using CS6 at our printmaking facility and recently upgraded our workstation to Mac OS 10.8.5. Now we are not able to access the advanced black & white print mode anymore when printing gray scale images. Is anyone else having this problem and what is the work-around? Thanks, David

    Probably Epson's ABW,
    EPSON Advanced Black & White
    which can easily be replaced by a custom profile with very strong 
    Gray Component Replacement (GCR). That means: a B/W image
    is printed by all inks, but the gray inks are dominating.
    Best regards --Gernot Hoffmann

  • How can I print characters with accent using TEXT_IO?????

    I need to write characteres with accent, like ó,Á using TEXT_IO.....
    Please help me!!!!

    Francois:
    I try to use your solution but don't work....maybe is necessary setting something in the database or in the developer......
    I'm writing an xml format file, and the string that I need to write is:
    <Item Name="DUMMY" FontSize="1000" DirtyInfo="true" Height="16" MouseNavigate="false" XPosition="109" FontName="Arial" ForegroundColor="black" Width="64" YPosition="191" FontSpacing="Normal" Label="OK" FontWeight="Negrita" FontStyle="Normal" ItemType="Botón" CanvasName="WEBUTIL_CANVAS">

  • Conditional confirm dialog with button

    Hi all,
    I want to create a confirm dialog with submit button that can fire only if one item is not submitted in that page.
    i have one check box item in my page called P2_LWF
    i created confirm dialog with button using the below code
    javascript:if (confirm('Are you sure you want to proceed?')) {
    this.disabled=true; this.value='Submitted...';
    doSubmit('SUBMIT');
    The moment i click submit button i want to fire that confirm dialog only if P2_LWF is unchecked.
    How can i do that in my application?
    Regards,
    Anees

    Hi marko,
    find application link below
    http://apex.oracle.com/pls/apex/f?p=14972:1:25026364614886:::::
    user name: [email protected]
    pswd: symphony
    you can access my work space using below credentials
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    workspace : aneesmohd
    username : [email protected]
    paswd: symphony
    application name: Confirmation Dialog
    application id= 14972
    when i press submit button i can get the confirmation dialog,but i want to make that as conditional (only when dl and lwf checkboxes are not ticked).if those are ticked i want to submit without getting the confirmation dialog.
    and want to clear the employee region cashe(report region) ones submit button pressed or refresh the page.
    Regards,
    Anees
    Edited by: anees_mohd on Jan 16, 2013 3:25 AM

  • Have a MacBook Pro with 10.8.1 and want to print wirelessly with HP 3054 610a, currently connected via USB. Router is Apple Extreme without WPS button. How do I enter the said and passphrase to the printer. Can't use the cd install-no Mtn.Lion support

    Have MacBook Pro, Airport Extreme router, Mtn Lion 10.8.1 and want to print wirelessly with HP 3054 610a which was installed 2 days ago via USB. Prefer to set up the printer on the wifi network, but how do I enter ssid and passphrase. On the printer control panel only has WPS option.

    You didn't look far enough .... http://www.hp.com/global/us/en/wireless/printer-setup-help.html
    The next thing is to look in the manual that accompanied the printer for how to use the wireless setup wizard!
    This is specific to your printer ..... http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02217452&lc=en&cc=us&dlc=en &product=5109847#N728

  • Printing problem with Adobe Acrobat 9.3 (SDK) on Windows 7 64 bit

    Hi
    I have used Adobe Acrobat 7.0.5 SDK (VB.Net with VS 2005) with Windows 2003/XP and printing works fine. I am trying to make printing
    work on a laptop with Windows 7/Office 2010/Adobe Acrobat 9.3. I am using SDK , VB.Net (.Net Framework 2.0 with VStudio 2008).
    I have added a network printer on the laptop. From the code I set the default printer and then try to print a PDF with the default printer.
    The function returns true, doesn;t throw any error but it actually doesn't go to printer. I have tried many ways to print a PDF even from Local Hard disk.
    But no luck. Below is the code. Any ideas please.....
    Dim PDDocPrint As New Acrobat.AcroAVDoc
                'set default printer name
                         m_sprinterName = p_sPrinterName
                        m_sprintJobnm = Filename
                        If PDDocPrint.PrintPagesSilent(0, -1, 0, 0, 0) = False Then
                            LogError("Unable to print")
                            TerminateAcrobat()
                            Return False
                        End If
                       PDDocPrint.Close(0)
                    Else
                       LogError("::Error Desc.: " & "Unable to open PDF file: " _
                                                 " for printing.", "")
                        Return False
                    End If
    The "PDDocPrint.PrintPagesSilent(0, -1, 0, 0, 0)" returns true but printing doesn't happen. I have tried "PrintPageEx" an dother functions.
    Is there anything else to do with Adobe 9.0 or Windows 7.0?

    Thanks!!! It is version 9.3.1. Should I upgrade for better?
    But WHen I tried again changing the parameters as below: trying to print a few pages
    l_oCAcroPDDocPrint.PrintPagesSilent(0, 2, 0, 0, 0) - 0 first page and 2 last page. It works fine.
    In 7.0 I used -1 in place of last page and it printed all pages of that particular PDF.
    I did not find about printing all of these pages from Acrobat 9.0 API. Can you please let me know?

  • I have an HP Laserjet 5m monochrome printer that I have used for years with our three Mac computers

    HP Laserjet 5m monochrome printer C3917A (1997)
    Operating system: OSX 10.7.4
    Error message: Printer busy
    No known changes made to system or configuration
    I have an HP Laserjet 5m monochrome printer that I have used for years with our three Mac computers (two on OS X Lion and one on  Leopard). I'm using ethernet to connect to a router and then my computer (although I have also tried to connect directly to no avail.) We went away for 2 weeks, returned and got “Printer busy” for all 3 computers. I reset the printer to factory settings. Same problem. By the way, the printer says READY. I then went to System prefs and clicked ‘–‘ in the Print & Scan section to remove the printer. When I tried to add back the printer, nothing shows up. I now remember that this may be because the means of communicating with the printer has now changed and that I had found the printer by somehow adding its address settings (or something). Can anyone help me to reconnect with the printer? 
    This question was solved.
    View Solution.

    Download and install this: http://support.apple.com/kb/DL907
    Reset the printing system:
    - Go to System Preferences > Print & Scan
    - Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add a printer. Select the Defualt tab on the top of the window. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Applescript to print a .doc file using TextEdit with print dialog.

    I want to print a pdf file using TextEdit .
    I want to display the print dialog before doing the print operation.
    Can any one help me with apple scripts to perform this operation.
    We tried to use this script; but when I click Cancel on print dialog. I am getting an error saying "TextEdit got an error: Apple Event Handler failed".
    set printDoc to "Macintosh HD:Users:testuser:Testing:testprint.pdf"
    tell application "TextEdit"
    activate
    open printDoc
    print printDoc with print dialog
    quit saving no
    end tell
    Can anyone help me to fix this issue ?

    Clicking the cancel button in the print dialog is sending an error code back to the script. If you use a try statement you can handle it better. The script below will just ignore it. Or you could use an "on error" statement to do something else.
    set printDoc to "Macintosh HD:Users:testuser:Testing:testprint.pdf"
    tell application "TextEdit"
    activate
    open printDoc
    try
    print printDoc with print dialog
    end try
    quit saving no
    end tell
    Hope that helps. Though the plaintext of a pdf may be a little hard to read.

  • I cannot print on my Canon i550 printer with the used Win7 computer I just bought. I downloaded a dr

    I cannot print on my Canon i550 printer with the used Win7 computer I just bought. I downloaded a driver update from Canon that is supposed to fix the incompatibility issue, but it does nothing. Can anyone help? Can't afford a new computer or printer!

    Hi cjvandeveer, The Windows 7 operating system has a mini-driver built-in for the printer. You can plug in the USB cable of printer into the computer and then turn the printer on. If Windows 7 automatically recognizes the printer, it will appear in your DEVICES AND PRINTERS window, and you will be able to print. You will then need to download the Windows 7 printer driver add-on module from our website. The add-on module will give the printer its full capability, but only after the printer is already recognized by Windows 7. First, to see if Windows recognizes your printer, please follow these steps: 1. Plug in the printer's USB cable into the computer and then turn on the printer. 2. Go to your START MENU on the computer and select DEVICES AND PRINTERS. 3. See if your printer is located in the DEVICES AND PRINTERS window. If it is not, we may need to run Windows Update on your computer in order for the printer to be initially recognized. Please follow these steps to install the latest driver for your printer from Windows Update: 1. Turn the printer on and ensure it is connected to the computer with the USB cable. Please note that your computer will also need to be connected to the internet before performing the next step. 2. Click on your START menu button, and in the text box that appears, type in 'WINDOWS UPDATE', then click on START SEARCH. The Windows Update window should open. 3. Click on the 'SEARCH FOR UPDATES' or 'CHECK FOR UPDATES' link. The computer will search for updates and then display the updates it has found relevant to your operating system and devices connected to it. 4. View the CRITICAL UPDATES and OPTIONAL UPDATES that appear; if you see an update for your printer, select that one and then install it. 5. Once the driver is installed, please restart your computer. Once Windows 7 recognizes your printer, you can then install the printer add-on module from our website to give the printer its full functionality.  Hope this helps! This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.

  • Print a report in crystal Report using SDK

    Hi Dear;
    any body can publish a sample code how can i print a report built in crystal report using SDK?
    regards;

    Hi Dany,
    Hope the following code will help u .
    before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
    for this you have to decalre commantype as stored procedure.
    first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
    Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
            Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                rptView.ReportSource = rptDoc
                rptView.Show()
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = False
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "rptForm"
                oFrm.Text = "rptForm"
                oFrm.ResumeLayout(False)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                oApplication.MessageBox(ex.Message)
            End Try
        End Sub

  • How to  print pdf file by using java print API ? I am trying with this code

    import java.io.FileInputStream;
    import java.io.InputStream;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.DocPrintJob;
    import javax.print.PrintException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    import javax.print.SimpleDoc;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    import javax.print.attribute.standard.MediaSizeName;
    public class PDFPrint {
    static public void print(InputStream inputStream, PrintService printService) throws PrintException {
    Doc doc = new SimpleDoc(inputStream, DocFlavor.INPUT_STREAM.AUTOSENSE, null);
    PrintRequestAttributeSet attributes = new HashPrintRequestAttributeSet();
    attributes.add(MediaSizeName.ISO_A4);
    attributes.add(new Copies(1));
    print(doc, attributes, printService);
    }//print()
    static public void print(Doc doc, PrintRequestAttributeSet attributes, PrintService printService) throws PrintException {
    if (printService == null) {
    printService = PrintServiceLookup.lookupDefaultPrintService();
    System.out.println("The Printer Name is :"+printService.getName());
    DocPrintJob docPrintJob = printService.createPrintJob();
    System.out.println("Before Print Start()");
    docPrintJob.print(doc, attributes);
    }//print()
    public static void main(String args[])
    PrintService defaultPrintService = PrintServiceLookup.lookupDefaultPrintService();
    String file="c:/BackUp/file.pdf";
    FileInputStream fis=new FileInputStream(file);
    System.out.println("Before Print() called ..");
    print(fis,defaultPrintService);
    System.out.println("After Printing....");
    I am using this code to print pdf file. But when I try this one automatically the printer starting with print ascii codes with infinite loop.
    I am using jdk1.4,Acrobat 8.0, Windows environment.
    Can u help me in this regard'
    Thank u
    grani

    import java.io.FileInputStream;
    import java.io.InputStream;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.DocPrintJob;
    import javax.print.PrintException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    import javax.print.SimpleDoc;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    import javax.print.attribute.standard.MediaSizeName;
    public class PDFPrint {
    static public void print(InputStream inputStream, PrintService printService) throws PrintException {
    Doc doc = new SimpleDoc(inputStream, DocFlavor.INPUT_STREAM.AUTOSENSE, null);
    PrintRequestAttributeSet attributes = new HashPrintRequestAttributeSet();
    attributes.add(MediaSizeName.ISO_A4);
    attributes.add(new Copies(1));
    print(doc, attributes, printService);
    }//print()
    static public void print(Doc doc, PrintRequestAttributeSet attributes, PrintService printService) throws PrintException {
    if (printService == null) {
    printService = PrintServiceLookup.lookupDefaultPrintService();
    System.out.println("The Printer Name is :"+printService.getName());
    DocPrintJob docPrintJob = printService.createPrintJob();
    System.out.println("Before Print Start()");
    docPrintJob.print(doc, attributes);
    }//print()
    public static void main(String args[])
    PrintService defaultPrintService = PrintServiceLookup.lookupDefaultPrintService();
    String file="c:/BackUp/file.pdf";
    FileInputStream fis=new FileInputStream(file);
    System.out.println("Before Print() called ..");
    print(fis,defaultPrintService);
    System.out.println("After Printing....");
    I am using this code to print pdf file. But when I try this one automatically the printer starting with print ascii codes with infinite loop.
    I am using jdk1.4,Acrobat 8.0, Windows environment.
    Can u help me in this regard'
    Thank u
    grani

  • Help with buying used printer, please!

    I have 5 - 15AHP Laserjet Print Cartridges (my sister closed her office) .....  I have a LaserJet 4000 and the 15A doesn't fit of course.
    I am thinking of buying a used printer so I could use these cartridges.  15A fits HP Laserjet 1000; 1005; 1200; 1220; 3300; and 3380.  Can I get some suggestions on which one to buy and where?  I really just need straight printing and don't want to spend a lot.
    thanks
    LK - Denver

    While it is true that Canon does take some time to release official driver for the new OS, the reality with ML is that the current 10.7 drivers do install and function on 10.8.
    For the iR2016, here is a link to the UFR2 v2.41 driver from Canon Australia.
    Also, with the iR2016 supporting the PCL printer language, you could use the Generic PCL Laser driver included with ML. Although I am not sure about this Generic driver supporting A3 printing, so I would have to confirm this.

  • I just purchased a hp laser jet printer m1217 with AirPrint, i am unable to get it to connect to my time capsule wirelessly, i am currently using WPA2 personal any suggests

    I Just puchased a HP laserjet printer M1217, i am trying to print wirelessly , the printer doesnot recognise my network, i am using a apple timemachine using WPA2 personal, anyone have any ideas

    Don't know if you ever figured this out but here is the answer...
    I just spent the last two days on this and have finally sorted it out. It actually isn't that hard to do but for some reason, no one has consolidated the information in one place!
    First and foremost, make sure that you have all the latest and greatest firmware updates for your printer, your computer and your mobile devices.
    Next, you need to connect your printer to your network via an ethernet cable, this is the only way to get in to the printer softare to configure it for your wireless network.
    Navigate the printer menus on the keypad to Reports>Config Report and print this report. It will provide you with the IP adress and IPv4 address for the printer.
    With the printer connected to your network and powered on, point your browser to the IP address of the printer. If this doen't work (it didn't for me) use the IPv4 address.
    This will open the configuration panel for the printer and will let you configure the wireless for the printer so that it can join your wireless network. You will see various tabs across the top. Select network. Then along the left you will see wireless. Choose that. Now you should see a list of wireless networks available including your very own home network. Choose that one, enter your password and hit apply.
    Disconnect the ethernet cable and you should be ready to Airprint from all devices. This worked for me, I can't imagine it won't work for all...then again...

Maybe you are looking for