Return amount of times a character is in a string?

Hello, quick question. As the title says, how can i return the amount of times a character is in a string? character such as 'a', 'b', etc. Thank you all, appreciate it!

thank you for your help! so would this be correct? (s is the string)
          int amount = 0;
          for(int x = 0; x <= s.length(); x++)
               if (s.charAt(x) == value){
                    amount++;
          return amount;

Similar Messages

  • Program to count the no. of times a character occurs in a string.

    program to count the no. of times a character occurs in a string.
    Say if u have a method :- Countclass(string s,char c) then using this u should be able to count a char ' T' in the string ="TESTING".
    So it is appering 2 times.
    How to count it.

    int countChar(String s, char c) {
       int count = 0;
       for (int i=0; i<s.length(); i++) {
          if (s.charAt(i) == c)
             count++;
       return count;
    }

  • Find the Number of times a '¯'character appears in a string.

    Hi,
    In my staging table I am having data like below
    ABL¯ABL¯0¯0¯ABL¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ 
    ABL¯ABQ¯480¯825¯DLS¯AMA¯ABQ¯ ¯ ¯ ¯ ¯ ¯ ¯ 
    ABL¯ACD¯808¯1255¯DLS¯ELP¯TCS¯PHX¯ACD¯ ¯ ¯ ¯ ¯ 
    ABL¯ADE¯1256¯471¯DLS¯AMA¯ABQ¯LSV¯ADE¯ ¯ ¯ ¯ ¯ 
    ABL¯AFT¯1140¯1744¯DLS¯LAX¯FON¯AFT¯ ¯ ¯ ¯ ¯ ¯ 
    ABL¯AHM¯1178¯1637¯DLS¯LAX¯AHM¯ ¯ ¯ ¯ ¯ ¯ ¯ 
    ABL¯ALB¯1769¯1825¯DLS¯WIL¯ALB¯ ¯ ¯ ¯ ¯ ¯ ¯ 
    ABL¯ALE¯1041¯1150¯DLS¯ALE¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯
    Now I want to find the Number of times a '¯'character appears in a string.
    I should get output 14
    thanks & regards,
    Vipin Jha
    Thankx &amp; regards, Vipin jha MCP

    Hi Vipin,
    You can try below sql code also
    code:-  len(data)-len(replace(data,'¯','')) -(len(data)-len(replace(data,' ','')))
    select data,len(data)-len(replace(data,'¯','')) -(len(data)-len(replace(data,' ',''))) CountofCharacter from
    select 'ABL¯ABL¯0¯0¯ABL¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ' data
    UNION
    SELECT 'ABL¯ABQ¯480¯825¯DLS¯AMA¯ABQ¯ ¯ ¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯ACD¯808¯1255¯DLS¯ELP¯TCS¯PHX¯ACD¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯ADE¯1256¯471¯DLS¯AMA¯ABQ¯LSV¯ADE¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯AFT¯1140¯1744¯DLS¯LAX¯FON¯AFT¯ ¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯AHM¯1178¯1637¯DLS¯LAX¯AHM¯ ¯ ¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯ALB¯1769¯1825¯DLS¯WIL¯ALB¯ ¯ ¯ ¯ ¯ ¯ ¯ '
    UNION
    SELECT 'ABL¯ALE¯1041¯1150¯DLS¯ALE¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯'
    ) t
    Thanks
    Prasad

  • Calculate the number of times a character appears in a string

    Please help.
    Is there a way to count a number of occurences of a particular character in a string? e.g. If you have 'DATABASE' as a string, can you calculate the number of times 'A' occurs in it? The answer is supposed to be 3, but can you calculate it in Oracle?
    Thanks in advance.

    Re: Any built-ins for occurance

  • Count the number of times a character is in a string using pl/sql

    I need to count the number of times ":" appers in the string ":XXX:CCC:BBB:".
    I have sound some solution using SQL but I do not want the context switch.
    Also I am on 10g so I can not use REGEXP_COUNT.
    Any help would be great.

    Hi,
    length(REGEXP_REPLACE(':XXX:CCC:BBB:','[[:alnum:]]'))counts all kinds of punctuation, spaces, etc., not just colons. Change any (or all) of the colons to periods and it will still return 4. Use '[^:]' instead of '[[:alnum:]]' if you really want to count just colons.
    Also, "SELECT ... FROM dual" is usually needed only in SQL*Plus or similar front end tools. In PL/SQL, you can call functions without a query, like this:
    x := NVL (LENGTH (REGEXP_REPLACE (txt, '[^:]')), 0);

  • Error "Conversion failed when converting date and/or time from character string" to execute one query in sql 2008 r2, run ok in 2005.

    I have  a table-valued function that run in sql 2005 and when try to execute in sql 2008 r2, return the next "Conversion failed when converting date and/or time from character string".
    USE [Runtime]
    GO
    /****** Object:  UserDefinedFunction [dbo].[f_Pinto_Graf_P_Opt]    Script Date: 06/11/2013 08:47:47 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE   FUNCTION [dbo].[f_Pinto_Graf_P_Opt] (@fechaInicio datetime, @fechaFin datetime)  
    -- Declaramos la tabla "@Produc_Opt" que será devuelta por la funcion
    RETURNS @Produc_Opt table ( Hora datetime,NSACOS int, NSACOS_opt int)
    AS  
    BEGIN 
    -- Crea el Cursor
    DECLARE cursorHora CURSOR
    READ_ONLY
    FOR SELECT DateTime, Value FROM f_PP_Graficas ('Pinto_CON_SACOS',@fechaInicio, @fechaFin,'Pinto_PRODUCTO')
    -- Declaracion de variables locales
    DECLARE @produc_opt_hora int
    DECLARE @produc_opt_parc int
    DECLARE @nsacos int
    DECLARE @time_parc datetime
    -- Inicializamos VARIABLES
    SET @produc_opt_hora = (SELECT * FROM f_Valor (@fechaFin,'Pinto_PRODUC_OPT'))
    -- Abre y se crea el conjunto del cursor
    OPEN cursorHora
    -- Comenzamos los calculos 
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    /************  BUCLE WHILE QUE SE VA A MOVER A TRAVES DEL CURSOR  ************/
    WHILE (@@fetch_status <> -1)
    BEGIN
    IF (@@fetch_status = -2)
    BEGIN
    -- Terminamos la ejecucion 
    BREAK
    END
    -- REALIZAMOS CÁLCULOS
    SET @produc_opt_parc = (SELECT dbo.f_P_Opt_Parc (@fechaInicio,@time_parc,@produc_opt_hora))
    -- INSERTAMOS VALORES EN LA TABLA
    INSERT @Produc_Opt VALUES (@time_parc,@nsacos, @produc_opt_parc)
    -- Avanzamos el cursor
    FETCH NEXT FROM cursorHora INTO @time_parc,@nsacos
    END
    /************  FIN DEL BUCLE QUE SE MUEVE A TRAVES DEL CURSOR  ***************/
    -- Cerramos el cursor
    CLOSE cursorHora
    -- Liberamos  los cursores
    DEALLOCATE cursorHora
    RETURN 
    END

    You can search the forums for that error message and find previous discussions - they all boil down to the same problem.  Somewhere in your query that calls this function, the code invoked implicitly converts from string to date/datetime.  In general,
    this works in any version of sql server if the runtime settings are correct for the format of the string data.  The fact that it works in one server and not in another server suggests that the query executes with different settings - and I'll assume for
    the moment that the format of the data involved in this conversion is consistent within the database/resultset and consistent between the 2 servers. 
    I suggest you read Tibor's guide to the datetime datatype (via the link to his site below) first - then go find the actual code that performs this conversion.  It may not be in the function you posted, since that function also executes other functions. 
    You also did not post the query that calls this function, so this function may not, in fact, be the source of the problem at all. 
    Tibor's site

  • SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)

    SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)
    SELECT    
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO AS T0 LEFT OUTER JOIN
                          VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
         OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1 AS T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'

    Hi,
    Try this:
    SELECT   
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO  T0 LEFT OUTER JOIN
                          VPM2  T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
    LEFT OUTER JOIN
         OVPM  T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1  T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
    group by T0.DocStatus,T0.DocDate ,
    T0.DocNum ,
    T0.NumAtCard,
    T0.TransId ,
    T0.Comments ,
    T0.CardCode,
    T0.CardName ,
    T0.WTSum ,
    T3.DueDate ,
    T3.CheckSum
    Thanks & Regards,
    Nagarajan

  • Application keeps crashing after an amount of time

    Hello,
    Since an certain amount of time we get crashes with our application on some of our PC's. It's an touchscreen application and it's running on a builtin PC with an Intel G41 Express Chipset. The application only crashes if it runs fullscreen.
    I've tried various things to get a solution but everytime the application keep's crashing. The things i've tried so far:
    Reinstall a clean Windows 7 (x86), No chipset drivers (just the drivers Windows recognized) with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. Application keeps crashing on the Adobe AIR.dll that's in C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\
    Reinstall a clean Windows 7 (x86), the latest chipset drivers with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. No other software. Application keeps crashing.
    Reinstall a clean Windows 7 (x64) with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. Application keeps crashing.
    I'm guessing the chipset is messing up Adobe AIR, because if we run it on another PC the application runs fine. Even if I run the application in Windows XP mode, the application runs fine. But I guess that's just because "Windows XP mode" simulates other hardware.
    In the Windows Event Log I can find the following entry:
    Naam van toepassing met fout: SenF.exe, versie: 0.0.0.0, tijdstempel: 0x4eb75ae0
    Naam van module met fout: Adobe AIR.dll, versie: 3.6.0.5970, tijdstempel: 0x510d8c68
    Uitzonderingscode: 0xc0000005
    Foutoffset: 0x001b1d38
    Id van proces met fout: 0xf84
    Starttijd van toepassing met fout: 0x01ce198187df72be
    Pad naar toepassing met fout: C:\Program Files\SenF\SenF.exe
    Pad naar module met fout: C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Rapport-id: e9a85ae2-8574-11e2-9597-e06995e99d65
    I've created a dump file and I can find the following:
    0:000> !analyze -v
    * Exception Analysis *
    *** WARNING: Unable to verify timestamp for SenF.exe
    *** ERROR: Module load completed but symbols could not be loaded for SenF.exe
    GetPageUrlData failed, server returned HTTP status 404
    URL requested: http://watson.microsoft.com/StageOne/SenF_exe/0_0_0_0/4eb75ae0/Adobe_AIR_dll/3_6_0_5970/51 0d8c68/c0000005/001b1d38.htm?Retriage=1
    FAULTING_IP:
    Adobe_AIR+1b1d38
    66e81d38 8b8694000000 mov     eax,dword ptr [esi+94h]
    EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
    ExceptionAddress: 66e81d38 (Adobe_AIR+0x001b1d38)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 00000000
       Parameter[1]: 00000094
    Attempt to read from address 00000094
    PROCESS_NAME:  SenF.exe
    ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    EXCEPTION_PARAMETER1:  00000000
    EXCEPTION_PARAMETER2:  00000094
    READ_ADDRESS:  00000094
    FOLLOWUP_IP:
    Adobe_AIR+1b1d38
    66e81d38 8b8694000000 mov     eax,dword ptr [esi+94h]
    MOD_LIST: <ANALYSIS/>
    NTGLOBALFLAG:  0
    APPLICATION_VERIFIER_FLAGS:  0
    FAULTING_THREAD:  00000490
    BUGCHECK_STR: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ
    PRIMARY_PROBLEM_CLASS: NULL_CLASS_PTR_DEREFERENCE
    DEFAULT_BUCKET_ID:  NULL_CLASS_PTR_DEREFERENCE
    LAST_CONTROL_TRANSFER:  from 00000000 to 66e81d38
    STACK_TEXT: 
    00000000 00000000 00000000 00000000 00000000 Adobe_AIR+0x1b1d38
    STACK_COMMAND:  ~0s; .ecxr ; kb
    SYMBOL_STACK_INDEX:  0
    SYMBOL_NAME:  Adobe_AIR+1b1d38
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: Adobe_AIR
    IMAGE_NAME:  Adobe AIR.dll
    DEBUG_FLR_IMAGE_TIMESTAMP:  510d8c68
    FAILURE_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE_c0000005_Adobe_AIR.dll!Unknown
    BUCKET_ID: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_Adobe_AIR+1b1d38
    WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/SenF_exe/0_0_0_0/4eb75ae0/Adobe_AIR_dll/3_6_0_5970/51 0d8c68/c0000005/001b1d38.htm?Retriage=1
    Followup: MachineOwner
    Can someone point the the right direction? If necessary I can upload the whole DMP file.
    If you need more information feel free to ask. I'm not the developer of this program so I might get in contact with the company that build this application to get your questions answered.
    Many thanks in advance.
    Message was edited by: Michel van den Hoek

    Hi Chris,
    It seems the problem has been resolved yesterday. I waited to reply with the solution until we're done testing. Since testing is done, i'll tell you our solution. I think the problem was very computer specific, but since others can have this problem i'll tell how we fixed this.
    We are using 32" touchscreen from ELO (http://www.elotouch.com/products/ids/3200L/default.asp) with an builtin PC with the following specs.
    ECM1:
    Intel Celeron Dual-Core
    2.2GHz E1500
    (512KB L2 cache/800MHz bus)
    Appearantly we were using the drivers that are delivered with Windows 7 and we did 'downgrade' the drivers with the drivers that can be downloaded from the ELO website (http://www.elotouch.com/files/driver_packs/IDS_Computer_Module_Win7_Drivers_Package.zip). I guess the below drivers are the one that solved our problem.
    *  Product: Intel(R) Chipset Device Software
    *  Release: Production Version
    *  Version: 9.2.0.1021
    *  Target Products: Intel(R) 6 Series/C200 Series Chipset Family
    *                        2nd generation Intel(R) Core(TM) processor family
    *  Date: December 23 2010
    Unfortunately the latest drivers are'nt always the best... at least not for us.
    Thanks Chris for your help, i still can upload the DMP file to see where it was going wrong. I'll email them ASAP.
    I hope that I can help some people with this post.

  • Continuous averaging for a certain amount of time

    Hi
    In my program I have to use a start button to continuously average a value for a certain amount of time(lets say 3s) and keep and show the average the value. The state of the start button should return to off mode after that 3 sec so if the user hit the start button again it reset the array and calculate the average again.
    Would you please help me with this program. I have attached pic of what I ahev done
    With this vi I can take data after hitting start for 3 sec but I have these problems:
    1- I don't know how to calculate average value when finish getting data after 3 sec
    2- I would like the start button back to off mode after 3 sec so if I click on the start button again it reset the array and calculate the average again.
    Would u plz help me with this vi?
    Attachments:
    1q.jpg ‏169 KB

    Use mean function to average an array. And wire your time has elapsed boolean to a case structure and reinitialise your boolean control to default in the true case.
    Create invoke node as below, just in case you dont know.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Month Ago Return Amount

    Hi
    I am working on OBIEE Prebuilt, I get following error on including Month ago Return Amount measure in my report. This error is not repeated for any other time series function used with other measure like say Cancelled amount.
    [nQSError: 17001] Oracle Error code: 1652, message: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP01 at OCI call
    any idea why this error is occuring & how do I fix it. I am using OBIEE 10g
    Thanks & regards
    Sameer

    This is Oracle error.
    the sql generated is taking lot of temp space. You to tune the SQL.
    You can ask the dba to increase the the temp space as well.
    Hope this helps.
    Thanks,
    Maqsood

  • Is there a way to create a custom screensaver with pics/slides that display for different amounts of time?

    Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
    My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
    I tried using flickr and powerpoint as a work around but no luck.  I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file.  I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set.  It still displays everything, pics and the wmv file at the default 3 sec.
    I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.

    Welcome to the Apple Community.
    No that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • Monitoring user logins and amount of time logged in.

    I presently have an open directory master with several Mac Pro's authenticating against it. The owner of the Mac Pro would like to do billing to the other departments based on who was logged in and the amount of time they were logged in.
    Normally the "last" command would be perfect for this but with the removal of the wtmp file in 10.5 the last command is flaky at best. I will restart its self multiple times per day or not at all for a month so it is hard to write a script to pull the data out of it.
    Does anyone know of a way in 10.5 and higher to find out the type of information that the last command displayed, IE who logged in, what time they logged in and what time they logged out.
    I need this information for the Mac Pro's but can pull the information from the open directory server if there is a way to get it from their.
    Does anyone know where the last command data is being logged since the removal of the wtmp file.

    neither of them seem to give me the login and log out times like the "last" command does. Is there not anyway on the open directory server to pull this data?

  • Amount of time for clients to join a Coherence cluster?

    What are some of the factors that affect the amount of time it takes for a client (without local storage) to join the cluster?
    We are seeing some tests where the time is a few seconds and other tests where the time is 10's of seconds (up to 30-40 seconds). Would like it to be as deterministic as possible. Any ideas?
    Thanks!
    Andy

    Hi Andy,
    We have found that JMX Mbean registration is one factor in startup time, if you have JMX turned on. On joining the cluster, nodes register their MBeans with the MBean servers. If every node has management=all, every node is an MBean server node, whether its needed or not. This can result in an MBean registration storm as every node registers their Mbeans with every other node at startup. Its especially noticable if you have a lot of caches in your cluster. We suggest that only MBean server nodes have the management=all setting to minimize this registration process on startup.
    Marie
    [email protected]

  • Amount of times i ahev palyed a game

    How do I reset the number that counts the amount of times I have played a certain game?

    Well, restoring your ipod to its factory settings resets the basic 3 games, not sure about any others though. Dunno about any other ways. '

  • On iOS 7.0.2 everytime I unlock my phone while my music is playing, it skips. Forward, backward, and by small and large amounts of time.

    On iOS 7.0.2 everytime I unlock my phone while my music is playing, it skips. Forward, backward, and by small and large amounts of time.

    Hi cowboyincognito,
    Thanks for visiting Apple Support Communities.
    If you don't have the option to play music by genre on your iPhone, try this step to find the Genre option:
    Browse your music library.
    You can browse your music by playlist, artist, or other category. For other browse options, tap More. Tap any song to play it.
    To rearrange the tabs in the Music app, tap More, then tap Edit and drag a button onto the one you want to replace.
    Best Regards,
    Jeremy

Maybe you are looking for

  • Can I use a mini CD-R in my PowerBook CD Drive?

    Can I use a mini CD-R in my PowerBook cd drive? I wanted to transfer some photo's to the Sony Mini CD-R that came with a PSP to then put on the PSP. But the Mini CD-R is so small I'm afraid to try to slide it into the PowerBook cd slot and not get it

  • How can we assign one attribute set to multiple business partners at a time ?

    How can we assign one attribute set to multiple business partners at a time ? Is it possible ? Can anyone explain me ?

  • Save as/Export area problem

    Hi to all! When i save a file as "Flattened PNG" , the Export area is not working. FW (10.0.3.11, MacOS X 10.5.7)  saves the complete image and not just the cropped area. But when i choose another file format (jpg) it saves just the expected area. Is

  • Problem with combo box in a Matrix column

    hi every one, i  have a user form with a matrix(uid = 37) with some columns and one column is combo box. in that combo box i have to get values  from OSTC table (Code)...i have written this code ..i dont know how to access the combo box so that i can

  • Paper size A3 in Adobe Reader for my form

    Hello, I can let print a smartforms form as a PDF file from a BSP application. The user sees the results in Adobe Reader and can save or print the file. This form has standard size DIN A3. When the user sends it to the printer, standard configuration